test422 624 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <testcase>
  2. <info>
  3. <keywords>
  4. cmdline
  5. --next
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. </reply>
  12. #
  13. # Client-side
  14. <client>
  15. <server>
  16. none
  17. </server>
  18. <name>
  19. use --next with missing URL before it
  20. </name>
  21. <command>
  22. -O -I --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  23. </command>
  24. </client>
  25. #
  26. # Verify data after the test has been "shot"
  27. <verify>
  28. <stderr mode="text">
  29. curl: missing URL before --next
  30. curl: option --next: is badly used here
  31. %if manual
  32. curl: try 'curl --help' or 'curl --manual' for more information
  33. %else
  34. curl: try 'curl --help' for more information
  35. %endif
  36. </stderr>
  37. <errorcode>
  38. 2
  39. </errorcode>
  40. </verify>
  41. </testcase>