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

« back to all changes in this revision

Viewing changes to tests/data/test89

  • 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:
96
96
 <name>
97
97
HTTP with NTLM and follow-location
98
98
 </name>
 
99
 <setenv>
 
100
# we force our own host name, in order to make the test machine independent
 
101
CURL_GETHOSTNAME=curlhost
 
102
# we try to use the LD_PRELOAD hack, if not a debug build
 
103
LD_PRELOAD=./libtest/.libs/libhostname.so
 
104
 </setenv>
99
105
 <command>
100
106
http://%HOSTIP:%HTTPPORT/89 -u testuser:testpass --ntlm -L
101
107
</command>
 
108
<precheck>
 
109
chkhostname curlhost
 
110
</precheck>
102
111
</client>
103
112
 
104
113
# Verify data after the test has been "shot"
106
115
<strip>
107
116
^User-Agent:.*
108
117
</strip>
109
 
# We strip off a large chunk of the type-2 NTLM message since it depends on
110
 
# the local host name and thus differs on different machines!
111
 
<strippart>
112
 
s/^(Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA).*/$1/
113
 
</strippart>
114
118
<protocol>
115
119
GET /89 HTTP/1.1
116
120
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
119
123
Accept: */*
120
124
 
121
125
GET /89 HTTP/1.1
122
 
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA
 
126
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoKBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyY3VybGhvc3Q=
123
127
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
124
128
Host: %HOSTIP:%HTTPPORT
125
129
Accept: */*
131
135
Accept: */*
132
136
 
133
137
GET /you/890010 HTTP/1.1
134
 
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA
 
138
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoKBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyY3VybGhvc3Q=
135
139
User-Agent: curl/7.10.8-pre1 (i686-pc-linux-gnu) libcurl/7.10.8-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS
136
140
Host: %HOSTIP:%HTTPPORT
137
141
Accept: */*