test1558 526 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <testcase>
  2. <info>
  3. <keywords>
  4. curl_easy_getinfo
  5. CURLINFO_PROTOCOL
  6. </keywords>
  7. </info>
  8. <reply>
  9. </reply>
  10. <client>
  11. <server>
  12. none
  13. </server>
  14. <features>
  15. file
  16. </features>
  17. <tool>
  18. lib%TESTNUMBER
  19. </tool>
  20. <name>
  21. CURLINFO_PROTOCOL for file:// transfer
  22. </name>
  23. <command>
  24. file://%FILE_PWD/log/data%TESTNUMBER
  25. </command>
  26. <file name="log/data%TESTNUMBER">
  27. hello
  28. </file>
  29. </client>
  30. #
  31. # Verify that the test runs to completion without crashing
  32. <verify>
  33. <errorcode>
  34. 0
  35. </errorcode>
  36. <stdout>
  37. hello
  38. Protocol: 400
  39. </stdout>
  40. </verify>
  41. </testcase>