aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test267
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-01-23 02:25:56 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-01-23 02:25:56 +0000
commit33bea767ebd0bbf11867fe1af31dc345e9f816af (patch)
tree4c7d01783220f9e8b79c0239562af5d63d833359 /tests/data/test267
parent9ab7cda0105cd926ab67c31508c5d835466ce8e7 (diff)
downloadgnurl-33bea767ebd0bbf11867fe1af31dc345e9f816af.tar.gz
gnurl-33bea767ebd0bbf11867fe1af31dc345e9f816af.tar.bz2
gnurl-33bea767ebd0bbf11867fe1af31dc345e9f816af.zip
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. & => &amp; ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
Diffstat (limited to 'tests/data/test267')
-rw-r--r--tests/data/test26711
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/data/test267 b/tests/data/test267
index dc7f8dc23..78676dfbc 100644
--- a/tests/data/test267
+++ b/tests/data/test267
@@ -1,3 +1,4 @@
+<testcase>
<info>
<keywords>
HTTP
@@ -8,10 +9,11 @@ HTTP NTLM auth
# 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
@@ -76,7 +78,7 @@ http://%HOSTIP:%HTTPPORT/267 -u testuser:testpass --ntlm -d "data" -H "Header1:
<strippart>
s/^(Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA).*/$1/
</strippart>
-<protocol nonewline=yes>
+<protocol nonewline="yes">
POST /267 HTTP/1.1
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3
@@ -100,3 +102,4 @@ Content-Type: application/x-www-form-urlencoded
data
</protocol>
</verify>
+</testcase>