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