summaryrefslogtreecommitdiff
path: root/tests/data/test1182
blob: 105d3d1f4abda928fef2745817ad8b5cb1247d94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<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=%SRCDIR/log/data -o LOGDIR=%SRCDIR/log/log -E %SRCDIR/log/test%TESTNUMBER-exclude-file 1
</command>
<precheck>
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
</precheck>
<postcheck>
grep -q "Test should not run for unit test %TESTNUMBER" %SRCDIR/log/stdout%TESTNUMBER
</postcheck>

</client>

<verify>
<errorcode>
1
</errorcode>
</verify>

</testcase>