test1182 (710B)
1 <testcase> 2 <info> 3 <keywords> 4 runtests.pl 5 </keywords> 6 </info> 7 8 # 9 # Client-side 10 <client> 11 <server> 12 none 13 </server> 14 <name> 15 Verify that runtests.pl accepts an exclude file with the -E option 16 </name> 17 18 <command type="perl"> 19 %SRCDIR/runtests.pl -o TESTDIR=%LOGDIR/data -o LOGDIR=%LOGDIR/log -E %LOGDIR/test%TESTNUMBER-exclude-file 1 20 </command> 21 <precheck> 22 mkdir %LOGDIR/data ; mkdir %LOGDIR/log; cp %SRCDIR/data/test1 %LOGDIR/data; echo 'test:1:Test should not run for unit test %TESTNUMBER' > %LOGDIR/test%TESTNUMBER-exclude-file 23 </precheck> 24 </client> 25 26 <verify> 27 <errorcode> 28 1 29 </errorcode> 30 <postcheck> 31 grep -q "Test should not run for unit test %TESTNUMBER" %LOGDIR/stdout%TESTNUMBER 32 </postcheck> 33 </verify> 34 35 </testcase>