test1537 591 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <testcase>
  2. <info>
  3. <keywords>
  4. URL escape
  5. </keywords>
  6. </info>
  7. #
  8. # Server-side
  9. <reply>
  10. </reply>
  11. # Client-side
  12. <client>
  13. <server>
  14. none
  15. </server>
  16. <tool>
  17. lib%TESTNUMBER
  18. </tool>
  19. <name>
  20. libcurl URL escape/unescape tests
  21. </name>
  22. <command>
  23. nothing
  24. </command>
  25. </client>
  26. #
  27. # Verify data after the test has been "shot"
  28. <verify>
  29. <stdout>
  30. %2F%3A%3B%3C%3D%3E%3F%91%A2%B3%C4%D5%E6%F7
  31. %2F%3A%3B%3C%3D%3E%3F%91%A2%B3%C4%D5%E6%F7
  32. outlen == 14
  33. unescape == original? YES
  34. [old] outlen == 14
  35. [old] unescape == original? YES
  36. escape -1 length: (nil)
  37. unescape -1 length: (nil) 2017
  38. </stdout>
  39. </verify>
  40. </testcase>