~ubuntu-branches/ubuntu/natty/curl/natty-proposed

« back to all changes in this revision

Viewing changes to tests/data/test69

  • Committer: Bazaar Package Importer
  • Author(s): Ramakrishnan Muthukrishnan
  • Date: 2010-08-12 08:20:48 UTC
  • mto: (3.4.8 sid)
  • mto: This revision was merged to the branch mainline in revision 43.
  • Revision ID: james.westby@ubuntu.com-20100812082048-7g7fewx1ai2ozgsf
Tags: upstream-7.21.1
ImportĀ upstreamĀ versionĀ 7.21.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
 <name>
80
80
HTTP with NTLM, Basic or Wild-and-crazy authorization
81
81
 </name>
 
82
 <setenv>
 
83
# we force our own host name, in order to make the test machine independent
 
84
CURL_GETHOSTNAME=curlhost
 
85
# we try to use the LD_PRELOAD hack, if not a debug build
 
86
LD_PRELOAD=./libtest/.libs/libhostname.so
 
87
 </setenv>
82
88
 <command>
83
89
http://%HOSTIP:%HTTPPORT/69 -u testuser:testpass --anyauth
84
90
</command>
 
91
<precheck>
 
92
chkhostname curlhost
 
93
</precheck>
85
94
</client>
86
95
 
87
96
# Verify data after the test has been "shot"
89
98
<strip>
90
99
^User-Agent:.*
91
100
</strip>
92
 
# We strip off a large chunk of the type-2 NTLM message since it depends on
93
 
# the local host name and thus differs on different machines!
94
 
<strippart>
95
 
s/^(Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA).*/$1/
96
 
</strippart>
97
101
<protocol>
98
102
GET /69 HTTP/1.1
99
103
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
107
111
Accept: */*
108
112
 
109
113
GET /69 HTTP/1.1
110
 
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA
 
114
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoKBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyY3VybGhvc3Q=
111
115
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
112
116
Host: %HOSTIP:%HTTPPORT
113
117
Accept: */*