mirror of
https://github.com/moparisthebest/curl
synced 2024-11-18 07:25:14 -05:00
e2b4df7b5e
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
46 lines
591 B
Plaintext
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>
|