mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
f754990acf
Follow-up to e7a021e1
Ref: #10818
37 lines
711 B
Plaintext
37 lines
711 B
Plaintext
<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">
|
|
%SRCDIR/runtests.pl -o TESTDIR=%LOGDIR/data -o LOGDIR=%LOGDIR/log -E %LOGDIR/test%TESTNUMBER-exclude-file 1
|
|
</command>
|
|
<precheck>
|
|
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
|
|
</precheck>
|
|
<postcheck>
|
|
grep -q "Test should not run for unit test %TESTNUMBER" %LOGDIR/stdout%TESTNUMBER
|
|
</postcheck>
|
|
|
|
</client>
|
|
|
|
<verify>
|
|
<errorcode>
|
|
1
|
|
</errorcode>
|
|
</verify>
|
|
|
|
</testcase>
|