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# Search for these two sentinel lines in the help output; if they are found, 26# then chances are good the entire help is there. 27<postcheck> 28perl -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>' log/stdout1027 29</postcheck> 30</client> 31 32# 33# Verify data after the test has been "shot" 34<verify> 35<errorcode> 360 37</errorcode> 38</verify> 39</testcase> 40