1 This test script uses shunit2 :
2 http://code.google.com/p/shunit2/
4 uci-static binary is used during tests.
10 * Test files are located in './test/tests.d'
12 * These files contain shell functions beginning with 'test' :
21 * shunit2 functions can be used in these functions :
22 http://shunit2.googlecode.com/svn/trunk/source/2.1/doc/shunit2.html
24 * Additional environment variables are available :
25 - ${CONFIG_DIR} : uci search path for config files. This directory is
26 reset after each test.
27 - ${CHANGES_DIR} : uci search path for config change files. This directory is
28 reset after each test.
29 - ${TMP_DIR} : path to a directory where can be stored temporary files
30 during tests. This directory is reset after each test.
31 - ${UCI} : uci static binary called with above config and changes
32 directories as parameters.
33 - ${REF_DIR} : path to a directory where can be stored reference files