test1026 697 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <testcase>
  2. <info>
  3. <keywords>
  4. --manual
  5. </keywords>
  6. </info>
  7. #
  8. # Server-side
  9. <reply>
  10. </reply>
  11. #
  12. # Client-side
  13. <client>
  14. <features>
  15. manual
  16. </features>
  17. <server>
  18. none
  19. </server>
  20. <name>
  21. curl --manual
  22. </name>
  23. <command>
  24. --manual
  25. </command>
  26. # Search for these two sentinel lines in the manual output; if they are found,
  27. # then chances are good the entire manual is there.
  28. <postcheck>
  29. 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>' %LOGDIR/stdout%TESTNUMBER
  30. </postcheck>
  31. </client>
  32. #
  33. # Verify data after the test has been "shot"
  34. <verify>
  35. <errorcode>
  36. 0
  37. </errorcode>
  38. </verify>
  39. </testcase>