2
0

test1026 688 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. <server>
  15. none
  16. </server>
  17. <name>
  18. curl --manual
  19. </name>
  20. <command>
  21. --manual
  22. </command>
  23. # Search for these two sentinel lines in the manual output; if they are found,
  24. # then chances are good the entire manual is there.
  25. <postcheck>
  26. perl -e 'open(IN,$ARGV[0]); my $lines=grep(/(a\s*tool\s*to\s*transfer\s*data)|(mailing\s*lists\s*to\s*discuss\s*curl)/, <IN>); exit ($lines != 2); # Let this file pass an XML syntax check: </IN>' log/stdout1026
  27. </postcheck>
  28. </client>
  29. #
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. <errorcode>
  33. 0
  34. </errorcode>
  35. </verify>
  36. </testcase>