xref: /curl/tests/data/test1182 (revision 56183c1d)
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=%LOGDIR/data -o LOGDIR=%LOGDIR/log -E %LOGDIR/test%TESTNUMBER-exclude-file 1
20</command>
21<precheck>
22mkdir %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>
281
29</errorcode>
30<postcheck>
31grep -q "Test should not run for unit test %TESTNUMBER" %LOGDIR/stdout%TESTNUMBER
32</postcheck>
33</verify>
34
35</testcase>
36