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

« back to all changes in this revision

Viewing changes to tests/data/test1021

  • 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:
95
95
 <name>
96
96
HTTP proxy CONNECT with any proxyauth and proxy offers NTLM and close
97
97
 </name>
 
98
 <setenv>
 
99
# we force our own host name, in order to make the test machine independent
 
100
CURL_GETHOSTNAME=curlhost
 
101
# we try to use the LD_PRELOAD hack, if not a debug build
 
102
LD_PRELOAD=./libtest/.libs/libhostname.so
 
103
 </setenv>
98
104
 <command>
99
105
http://test.remote.haxx.se:1021/path/10210002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-anyauth --proxytunnel
100
106
</command>
 
107
<precheck>
 
108
chkhostname curlhost
 
109
</precheck>
101
110
</client>
102
111
 
103
112
# Verify data after the test has been "shot"
105
114
<strip>
106
115
^User-Agent: curl/.*
107
116
</strip>
108
 
# We strip off a large chunk of the type-2 NTLM message since it depends on
109
 
# the local host name and thus differs on different machines!
110
 
<strippart>
111
 
s/^(Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA).*/$1/
112
 
</strippart>
113
117
<protocol>
114
118
CONNECT test.remote.haxx.se:1021 HTTP/1.1
115
119
Host: test.remote.haxx.se:1021
122
126
 
123
127
CONNECT test.remote.haxx.se:1021 HTTP/1.1
124
128
Host: test.remote.haxx.se:1021
125
 
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA
 
129
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAKAeQjzKtCQ7ubW8S6MN7B59436GAxPu0CVROwwNBsgxML49gcbAXLT/bU+H5wrS9XNpbGx5Y3VybGhvc3Q=
126
130
Proxy-Connection: Keep-Alive
127
131
 
128
132
GET /path/10210002 HTTP/1.1