test2044 423 B

123456789101112131415161718192021222324252627282930313233
  1. <testcase>
  2. <info>
  3. <keywords>
  4. --proto-default
  5. </keywords>
  6. </info>
  7. #
  8. # Client-side
  9. <client>
  10. <features>
  11. none
  12. </features>
  13. <server>
  14. none
  15. </server>
  16. <name>
  17. Attempt to set a default protocol that does not exist
  18. </name>
  19. <command>
  20. --proto-default DOESNOTEXIST
  21. </command>
  22. </client>
  23. #
  24. # Verify data after the test has been "shot"
  25. <verify>
  26. # CURLE_UNSUPPORTED_PROTOCOL is error code 1
  27. <errorcode>
  28. 1
  29. </errorcode>
  30. </verify>
  31. </testcase>