test1026 (693B)
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 <features> 17 manual 18 </features> 19 <server> 20 none 21 </server> 22 <name> 23 curl --manual 24 </name> 25 <command> 26 --manual 27 </command> 28 </client> 29 30 # 31 # Verify data after the test has been "shot" 32 <verify> 33 # Search for these two sentinel lines in the manual output; if they are found, 34 # then chances are good the entire manual is there. 35 <postcheck> 36 %PERL -e 'open(IN,$ARGV[0]); my $lines=grep(/(curl\s*-\s*transfer\sa\s*URL)|(AUTHORS)/, <IN>); exit ($lines != 2); # Let this file pass an XML syntax check: </IN>' %LOGDIR/stdout%TESTNUMBER 37 </postcheck> 38 <errorcode> 39 0 40 </errorcode> 41 </verify> 42 </testcase>