test411 621 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <testcase>
  2. <info>
  3. <keywords>
  4. -K
  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. -K with missing file causes error
  19. </name>
  20. <command>
  21. -K log/missing http://localhost
  22. </command>
  23. </client>
  24. #
  25. # Verify data after the test has been "shot"
  26. <verify>
  27. <stderr mode="text">
  28. curl: cannot read config from 'log/missing'
  29. curl: option -K: error encountered when reading a file
  30. %if manual
  31. curl: try 'curl --help' or 'curl --manual' for more information
  32. %else
  33. curl: try 'curl --help' for more information
  34. %endif
  35. </stderr>
  36. <errorcode>
  37. 26
  38. </errorcode>
  39. </verify>
  40. </testcase>