Return to test1027 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 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> ! 17: none ! 18: </server> ! 19: <name> ! 20: curl --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> ! 28: 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>' log/stdout1027 ! 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>