test1559 725 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <testcase>
  2. <info>
  3. <keywords>
  4. CURLOPT_URL
  5. verbose logs
  6. </keywords>
  7. </info>
  8. <reply>
  9. </reply>
  10. <client>
  11. <server>
  12. none
  13. </server>
  14. # require HTTP so that CURLOPT_POSTFIELDS works as assumed
  15. <features>
  16. http
  17. </features>
  18. <tool>
  19. lib%TESTNUMBER
  20. </tool>
  21. <name>
  22. Set excessive URL lengths
  23. </name>
  24. </client>
  25. #
  26. # Verify that the test runs to completion without crashing
  27. <verify>
  28. <errorcode>
  29. 0
  30. </errorcode>
  31. <stdout>
  32. CURLOPT_URL 10000000 bytes URL == 43
  33. CURLOPT_POSTFIELDS 10000000 bytes data == 0
  34. CURLUPART_URL 10000000 bytes URL == 3 (Malformed input to a URL function)
  35. CURLUPART_SCHEME 10000000 bytes scheme == 27 (Bad scheme)
  36. CURLUPART_USER 10000000 bytes user == 3 (Malformed input to a URL function)
  37. </stdout>
  38. </verify>
  39. </testcase>