File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1027
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    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>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>