xref: /curl/tests/data/test1027 (revision 31a29fc6)
1<testcase>
2<info>
3<keywords>
4--help
5</keywords>
6</info>
7
8#
9# Server-side
10<reply>
11</reply>
12
13#
14# Client-side
15<client>
16<server>
17none
18</server>
19<name>
20curl --help
21</name>
22<command>
23--help
24</command>
25</client>
26
27#
28# Verify data after the test has been "shot"
29<verify>
30<errorcode>
310
32</errorcode>
33# Search for these two sentinel lines in the help output; if they are found,
34# then chances are good the entire help is there.
35<postcheck>
36%PERL -e 'open(IN,$ARGV[0]); my $lines=grep(/(Usage: curl )|(--version\s*Show version)/, <IN>); exit ($lines != 2); # Let this file pass an XML syntax check: </IN>' %LOGDIR/stdout%TESTNUMBER
37</postcheck>
38</verify>
39</testcase>
40