File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1026
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: --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: # Search for these two sentinel lines in the manual output; if they are found,
   29: # then chances are good the entire manual is there.
   30: <postcheck>
   31: perl -e 'open(IN,$ARGV[0]); my $lines=grep(/(curl\s*-\s*transfer\sa\s*URL)|(CONTRIBUTORS)/, <IN>); exit ($lines != 2); # Let this file pass an XML syntax check: </IN>' log/stdout1026
   32: </postcheck>
   33: </client>
   34: 
   35: #
   36: # Verify data after the test has been "shot"
   37: <verify>
   38: <errorcode>
   39: 0
   40: </errorcode>
   41: </verify>
   42: </testcase>

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