2012-11-17 06:12:42 -05:00
<testcase>
<info>
<keywords>
runtests.pl
</keywords>
</info>
#
# Client-side
<client>
<server>
none
</server>
<name>
Verify that runtests.pl accepts an exclude file with the -E option
</name>
<command type="perl">
2021-03-12 11:38:26 -05:00
%SRCDIR/runtests.pl -o TESTDIR=%SRCDIR/log/data -o LOGDIR=%SRCDIR/log/log -E %SRCDIR/log/test%TESTNUMBER-exclude-file 1
2012-11-17 06:12:42 -05:00
</command>
<precheck>
2021-03-12 11:38:26 -05:00
mkdir %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
2012-11-17 06:12:42 -05:00
</precheck>
<postcheck>
2021-03-12 11:38:26 -05:00
grep -q "Test should not run for unit test %TESTNUMBER" %SRCDIR/log/stdout%TESTNUMBER
2012-11-17 06:12:42 -05:00
</postcheck>
</client>
<verify>
<errorcode>
1
</errorcode>
</verify>
</testcase>