test1558 591 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. lib1558
  19. </tool>
  20. <name>
  21. CURLINFO_PROTOCOL for file:// transfer
  22. </name>
  23. <setenv>
  24. # force MSYS2 to not convert the file: URL
  25. MSYS2_ARG_CONV_EXCL=file:
  26. </setenv>
  27. <command>
  28. file:%FILE_PWD/log/data1558
  29. </command>
  30. <file name="log/data1558">
  31. hello
  32. </file>
  33. </client>
  34. #
  35. # Verify that the test runs to completion without crashing
  36. <verify>
  37. <errorcode>
  38. 0
  39. </errorcode>
  40. <stdout>
  41. hello
  42. Protocol: 400
  43. </stdout>
  44. </verify>
  45. </testcase>