Debian Codegraph @

testing/tests/btest-cfg.test

raw
1 # %TEST-EXEC: mv btest.cfg myfile
2 # %TEST-EXEC: btest -c myfile %INPUT > nopath 2>&1
3 # %TEST-EXEC: BTEST_CFG=myfile btest %INPUT >> nopath 2>&1
4 # %TEST-EXEC: BTEST_CFG=notexist btest -c myfile %INPUT >> nopath 2>&1
5 # %TEST-EXEC-FAIL: btest %INPUT >> nopath 2>&1
6 # %TEST-EXEC: btest-diff nopath
7 # %TEST-EXEC: mkdir z
8 # %TEST-EXEC: mv myfile z/btest.cfg
9 # %TEST-EXEC: btest -c z/btest.cfg %INPUT >> relpath 2>&1
10 # %TEST-EXEC: BTEST_CFG=z/btest.cfg btest %INPUT >> relpath 2>&1
11 # %TEST-EXEC: btest-diff relpath
12 # %TEST-EXEC: btest -c `pwd`/z/btest.cfg %INPUT >> abspath 2>&1
13 # %TEST-EXEC: BTEST_CFG=`pwd`/z/btest.cfg btest %INPUT >> abspath 2>&1
14 # %TEST-EXEC: btest-diff abspath
15
16 @TEST-EXEC: exit 0