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