view target/bin/conf/test.sh @ 415:c2163079c392

Allow to skip kernel toolchain build.
author Aleksandr Rybalko <ray@ddteam.net>
date Thu, 13 Sep 2012 23:29:54 +0300
parents c83d8a5ba09b
children
line wrap: on
line source
#!/bin/sh


echo ------------------------------------------------------------------------------------------------
echo ------------------------------------------------------------------------------------------------
echo ------------------------------------------------------------------------------------------------
echo ------------------------------------------------------------------------------------------------

TEST='./conf -S -f hash.json glossary.title glossary.GlossDiv.GlossList.1 glossary.GlossDiv.GlossList.2=yyy'

echo ${TEST}
echo ------------------------------------------------------------------------------------------------
${TEST}

echo ------------------------------------------------------------------------------------------------
echo ------------------------------------------------------------------------------------------------

echo "Tree overwrite, should ignore while user delete childs"
TEST='./conf -S -f hash.json glossary.GlossDiv.GlossList.0=yyy'

echo ${TEST}
echo ------------------------------------------------------------------------------------------------
${TEST}

echo ------------------------------------------------------------------------------------------------
echo ------------------------------------------------------------------------------------------------

echo "Tree overwrite, should ignore while user delete childs"
TEST='./conf -S -f hash.json glossary.GlossDiv.GlossList.1=yy1 glossary.GlossDiv.GlossList.2=yy2 glossary.GlossDiv.GlossList.3=yy3'

echo ${TEST}
echo ------------------------------------------------------------------------------------------------
${TEST}

echo ------------------------------------------------------------------------------------------------
echo ------------------------------------------------------------------------------------------------

echo "Delete childs"
TEST='./conf -S -D -f hash.json glossary.GlossDiv.GlossList.1'

echo ${TEST}
echo ------------------------------------------------------------------------------------------------
${TEST}

echo ------------------------------------------------------------------------------------------------
echo ------------------------------------------------------------------------------------------------

echo "Delete non existing ARRAY child"
TEST='./conf -S -D -f hash.json glossary.GlossDiv.GlossList.5'

echo ${TEST}
echo ------------------------------------------------------------------------------------------------
${TEST}

echo ------------------------------------------------------------------------------------------------
echo ------------------------------------------------------------------------------------------------

echo "Delete non existing HASH child"
TEST='./conf -S -D -f hash.json glossary.nonexisting'

echo ${TEST}
echo ------------------------------------------------------------------------------------------------
${TEST}
echo ------------------------------------------------------------------------------------------------


echo ------------------------------------------------------------------------------------------------
echo ------------------------------------------------------------------------------------------------

echo "Delete non existing HASH child"
TEST='./conf -s -f hash.json tit Glos'

echo ${TEST}
echo ------------------------------------------------------------------------------------------------
${TEST}
echo ------------------------------------------------------------------------------------------------