mirror of
https://github.com/curl/curl.git
synced 2026-08-24 22:13:33 +03:00
Convert (most of) the test data files into genuine XML. A handful still
are not, due mainly to the lack of support for XML character entities (e.g. & => & ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
This commit is contained in:
parent
9ab7cda010
commit
33bea767eb
329 changed files with 801 additions and 106 deletions
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
|
|
@ -20,7 +21,7 @@ Connection: close
|
|||
Content-Type: text/html
|
||||
Funny-head: yesyes
|
||||
|
||||
<foo>
|
||||
-foo-
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
|
|
@ -51,3 +52,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
|
|
@ -63,3 +64,4 @@ the
|
|||
feature
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -55,3 +56,4 @@ LIST
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -55,3 +56,4 @@ LIST
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -48,3 +49,4 @@ RETR 102
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -50,3 +51,4 @@ RETR 103
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -39,3 +40,4 @@ REST 0
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -49,3 +50,4 @@ RETR 103
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -46,3 +47,4 @@ RETR 106
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -47,3 +48,4 @@ STOR 107
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -52,3 +53,4 @@ Moooooooooooo
|
|||
upload this
|
||||
</upload>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -46,3 +47,4 @@ Moooooooooooo
|
|||
upload this
|
||||
</upload>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
|
|
@ -72,3 +73,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -50,3 +51,4 @@ RETR 110
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -43,3 +44,4 @@ SIZE 111
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -47,3 +48,4 @@ QUIT
|
|||
worx?
|
||||
</upload>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -33,3 +34,4 @@ REPLY USER 314 bluah you fewl!
|
|||
USER anonymous
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -34,3 +35,4 @@ USER anonymous
|
|||
PASS curl_by_daniel@haxx.se
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -40,3 +41,4 @@ PASV
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -42,3 +43,4 @@ PWD
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -40,3 +41,4 @@ TYPE I
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -44,3 +45,4 @@ RETR 118
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -46,3 +47,4 @@ RETR 119
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
|
|
@ -51,3 +52,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -49,3 +50,4 @@ DELE file
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -47,3 +48,4 @@ DELE after_transfer
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -41,3 +42,4 @@ SIZE 122
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -36,3 +37,4 @@ TYPE I
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -43,3 +44,4 @@ RETR 124
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -37,3 +38,4 @@ CWD path
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -44,3 +45,4 @@ RETR 126
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -42,3 +43,4 @@ RETR 127
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -53,3 +54,4 @@ the
|
|||
--crlf option
|
||||
</upload>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
|
|
@ -40,3 +41,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -64,3 +65,4 @@ LIST
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -65,3 +66,4 @@ LIST
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -64,3 +65,4 @@ LIST
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -64,3 +65,4 @@ LIST
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -64,3 +65,4 @@ LIST
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -14,7 +15,7 @@ Range
|
|||
0123456789abcdef
|
||||
0123456789abcdef
|
||||
</data>
|
||||
<datacheck nonewline=yes>
|
||||
<datacheck nonewline="yes">
|
||||
0123456789abc
|
||||
</datacheck>
|
||||
<size>
|
||||
|
|
@ -49,3 +50,4 @@ RETR 135
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
|
|
@ -38,3 +39,4 @@ RETR 136
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -36,3 +37,4 @@ RETR 137
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -39,3 +40,4 @@ RETR 138
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -36,3 +37,4 @@ RETR 139
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
|
|
@ -40,3 +41,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -31,3 +32,4 @@ MDTM 140
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -37,3 +38,4 @@ QUIT
|
|||
Last-Modified: Wed, 09 Apr 2003 10:26:59 GMT
|
||||
</stdout>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -181,3 +182,4 @@ RETR 142
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -33,3 +34,4 @@ RETR 143
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -38,3 +39,4 @@ NLST
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -41,3 +42,4 @@ NLST
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -44,3 +45,4 @@ RETR 146
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -46,3 +47,4 @@ RETR 147
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
</reply>
|
||||
|
|
@ -39,3 +40,4 @@ MKD attempt
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
</reply>
|
||||
|
|
@ -44,3 +45,4 @@ QUIT
|
|||
send away this contents
|
||||
</file>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
|
|
@ -7,7 +8,7 @@ HTTP GET
|
|||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck=true>
|
||||
<data nocheck="true">
|
||||
HTTP/1.4 200 OK
|
||||
Fake: yes
|
||||
Fake: yes
|
||||
|
|
@ -53,3 +54,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
# Server-side
|
||||
<testcase>
|
||||
|
||||
<!-- Server-side -->
|
||||
<reply>
|
||||
|
||||
# no <data> in this test since we have NTLM from the start
|
||||
<!-- no <data> in this test since we have NTLM from the start
|
||||
|
||||
This is supposed to be returned when the server gets a first
|
||||
Authorization: NTLM line passed-in from the client -->
|
||||
|
||||
# This is supposed to be returned when the server gets a first
|
||||
# Authorization: NTLM line passed-in from the client
|
||||
<data1001>
|
||||
HTTP/1.1 401 Now gimme that second request of crap
|
||||
Server: Microsoft-IIS/5.0
|
||||
|
|
@ -84,3 +87,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -37,3 +38,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck=1>
|
||||
<data nocheck="1">
|
||||
HTTP/1.0 401 BAD BOY
|
||||
Server: swsclose
|
||||
Content-Type: text/html
|
||||
|
|
@ -40,3 +41,4 @@ Accept: */*
|
|||
22
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
# reply back and ask for Digest auth
|
||||
|
|
@ -118,3 +119,4 @@ Content-Length: 30
|
|||
This IS the second real page!
|
||||
</stdout>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
|
|
@ -92,3 +93,4 @@ line three
|
|||
four is the number of lines
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
|
|
@ -123,3 +124,4 @@ line three
|
|||
four is the number of lines
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -48,3 +49,4 @@ line three
|
|||
four is the number of lines
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -35,3 +36,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -46,3 +47,4 @@ daniel
|
|||
52
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,12 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
|
||||
# no <data> in this test since we have NTLM from the start
|
||||
<!-- no <data> in this test since we have NTLM from the start
|
||||
|
||||
This is supposed to be returned when the server gets a first
|
||||
Authorization: NTLM line passed-in from the client -->
|
||||
|
||||
# This is supposed to be returned when the server gets a first
|
||||
# Authorization: NTLM line passed-in from the client
|
||||
<data1001>
|
||||
HTTP/1.1 401 Now gimme that second request of crap
|
||||
Server: Microsoft-IIS/5.0
|
||||
|
|
@ -84,3 +86,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
|
|
@ -47,3 +48,4 @@ Proxy-Connection: Keep-Alive
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck=true>
|
||||
<data nocheck="true">
|
||||
HTTP/1.1 200 OK swsclose
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Content-Length: 9
|
||||
|
|
@ -62,3 +63,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -37,3 +38,4 @@ RETR 161
|
|||
18
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data1001 nocheck=1>
|
||||
<data1001 nocheck="1">
|
||||
HTTP/1.0 407 BAD BOY
|
||||
Proxy-Authenticate: Basic realm="Squid proxy-caching web server"
|
||||
Server: swsclose
|
||||
|
|
@ -47,3 +48,4 @@ Proxy-Connection: Keep-Alive
|
|||
22
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -69,3 +70,4 @@ curl
|
|||
------------------------------c2d1767eb6ac--
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
# This particular response is an exact excerpt from an actual Apache
|
||||
# server when asked for a 0-10,12-15 range.
|
||||
|
|
@ -56,3 +57,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
|
|
@ -46,3 +47,4 @@ Proxy-Connection: Keep-Alive
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -50,3 +51,4 @@ data inside the file
|
|||
------------------------------b0b3d6d23991--
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -64,3 +65,4 @@ Proxy-Connection: Keep-Alive
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
|
||||
|
|
@ -85,3 +86,4 @@ Proxy-Connection: Keep-Alive
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
|
||||
|
|
@ -112,3 +113,4 @@ Proxy-Connection: Keep-Alive
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
|
|
@ -50,3 +51,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
</reply>
|
||||
|
|
@ -39,3 +40,4 @@ Content-Length: 0
|
|||
52
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -38,7 +39,7 @@ Accept: */*
|
|||
Proxy-Connection: Keep-Alive
|
||||
|
||||
</protocol>
|
||||
<file name="log/jar171" mode=text>
|
||||
<file name="log/jar171" mode="text">
|
||||
# Netscape HTTP Cookie File
|
||||
# http://curlm.haxx.se/rfc/cookie_spec.html
|
||||
# This file was generated by libcurl! Edit at your own risk.
|
||||
|
|
@ -46,3 +47,4 @@ Proxy-Connection: Keep-Alive
|
|||
.z.x.com TRUE / FALSE 0 XToken xt
|
||||
</file>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -44,3 +45,4 @@ Cookie: nodomain=value; partmatch=present; tool=curl; name=fool
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -69,3 +70,4 @@ line8
|
|||
------------------------------5dbea401cd8c--
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -30,7 +31,7 @@ http://%HOSTIP:%HTTPPORT/174 -u testuser:testpass --anyauth -d "junkelijunk"
|
|||
<strip>
|
||||
^User-Agent:.*
|
||||
</strip>
|
||||
<protocol nonewline=yes>
|
||||
<protocol nonewline="yes">
|
||||
POST /174 HTTP/1.1
|
||||
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
|
||||
Host: 127.0.0.1:%HTTPPORT
|
||||
|
|
@ -41,3 +42,4 @@ Content-Type: application/x-www-form-urlencoded
|
|||
junkelijunk
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -53,7 +54,7 @@ http://%HOSTIP:%HTTPPORT/175 -u auser:apasswd --digest -d "junkelijunk"
|
|||
<strip>
|
||||
^User-Agent:.*
|
||||
</strip>
|
||||
<protocol nonewline=yes>
|
||||
<protocol nonewline="yes">
|
||||
POST /175 HTTP/1.1
|
||||
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
|
||||
Host: 127.0.0.1:%HTTPPORT
|
||||
|
|
@ -71,3 +72,4 @@ Content-Type: application/x-www-form-urlencoded
|
|||
junkelijunk
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
# the first request has NTLM type-1 included, and then the 1001 is returned
|
||||
|
|
@ -56,7 +57,7 @@ http://%HOSTIP:%HTTPPORT/176 -u auser:apasswd --ntlm -d "junkelijunk"
|
|||
<strip>
|
||||
^User-Agent:.*
|
||||
</strip>
|
||||
<protocol nonewline=yes>
|
||||
<protocol nonewline="yes">
|
||||
POST /176 HTTP/1.1
|
||||
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
||||
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
|
||||
|
|
@ -75,3 +76,4 @@ Content-Type: application/x-www-form-urlencoded
|
|||
junkelijunk
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -38,3 +39,4 @@ Content-Type: application/x-www-form-urlencoded
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
|
|
@ -39,3 +40,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -45,3 +46,4 @@ Cookie: moo2=indeed
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
|
|
@ -7,7 +8,7 @@ HTTP GET
|
|||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck=1>
|
||||
<data nocheck="1">
|
||||
HTTP/1.1 200 OK
|
||||
Funny-head: yesyes
|
||||
Content-Length: 4
|
||||
|
|
@ -86,3 +87,4 @@ Content-Length: 4
|
|||
hoo
|
||||
</stdout>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<reply>
|
||||
<data>
|
||||
HTTP/1.0 200 OK swsclose
|
||||
|
|
@ -55,3 +56,4 @@ the
|
|||
feature
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<reply>
|
||||
<data>
|
||||
HTTP/1.0 200 OK swsclose
|
||||
|
|
@ -56,3 +57,4 @@ the
|
|||
feature
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data sendzero=yes>
|
||||
<data sendzero="yes">
|
||||
</data>
|
||||
<size>
|
||||
0
|
||||
|
|
@ -33,3 +34,4 @@ RETR 182
|
|||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -48,3 +49,4 @@ Proxy-Connection: Keep-Alive
|
|||
</protocol>
|
||||
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -67,3 +68,4 @@ Proxy-Connection: Keep-Alive
|
|||
</protocol>
|
||||
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -67,3 +68,4 @@ Host: another.visitor.stay.a.while.stay.foreeeeeever
|
|||
</protocol>
|
||||
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -52,3 +53,4 @@ Content-Type: text/html
|
|||
------------------------------212d9006ceb5--
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -65,3 +66,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -64,3 +65,4 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -65,3 +66,4 @@ Accept: */*
|
|||
33
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
|
|
@ -30,3 +31,4 @@ attempt connect to non-listening socket
|
|||
7
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue