test1145 529 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FILE
  5. </keywords>
  6. </info>
  7. <reply>
  8. </reply>
  9. # Client-side
  10. <client>
  11. <server>
  12. file
  13. </server>
  14. <name>
  15. file:// bad host
  16. </name>
  17. # This command should not succeed since we only accept
  18. # file:/// file://localhost/ file://127.0.0.1/
  19. <command>
  20. file://bad-host%PWD/log/test1145.txt
  21. </command>
  22. <file name="log/test1145.txt">
  23. foo
  24. bar
  25. bar
  26. foo
  27. moo
  28. </file>
  29. </client>
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. # CURLE_URL_MALFORMAT is error code 3
  33. <errorcode>
  34. 3
  35. </errorcode>
  36. </verify>
  37. </testcase>