xref: /curl/tests/data/test1182 (revision f754990a)
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<postcheck>
25grep -q "Test should not run for unit test %TESTNUMBER" %LOGDIR/stdout%TESTNUMBER
26</postcheck>
27
28</client>
29
30<verify>
31<errorcode>
321
33</errorcode>
34</verify>
35
36</testcase>
37