curl/tests/data/test1537
Daniel Stenberg e2b4df7b5e
tests: use %TESTNUMBER instead of fixed number
This makes the tests easier to copy and relocate to other test numbers
without having to update content.

Closes #6738
2021-03-19 15:57:21 +01:00

46 lines
591 B
Plaintext

<testcase>
<info>
<keywords>
URL escape
</keywords>
</info>
#
# Server-side
<reply>
</reply>
# Client-side
<client>
<server>
none
</server>
<tool>
lib%TESTNUMBER
</tool>
<name>
libcurl URL escape/unescape tests
</name>
<command>
nothing
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<stdout>
%2F%3A%3B%3C%3D%3E%3F%91%A2%B3%C4%D5%E6%F7
%2F%3A%3B%3C%3D%3E%3F%91%A2%B3%C4%D5%E6%F7
outlen == 14
unescape == original? YES
[old] outlen == 14
[old] unescape == original? YES
escape -1 length: (nil)
unescape -1 length: (nil) 2017
</stdout>
</verify>
</testcase>