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

« back to all changes in this revision

Viewing changes to tests/data/test265

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-10-07 16:53:40 UTC
  • mfrom: (3.4.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101007165340-3eahi7unrkt7magp
Tags: 7.21.1-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Keep build deps in main:
    - Drop build dependencies: stunnel, libssh2-1-dev
    - Add build-dependency on openssh-server
    - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
 <name>
83
83
HTTP proxy CONNECT auth NTLM and then POST, response-body in the 407
84
84
 </name>
 
85
 <setenv>
 
86
# we force our own host name, in order to make the test machine independent
 
87
CURL_GETHOSTNAME=curlhost
 
88
# we try to use the LD_PRELOAD hack, if not a debug build
 
89
LD_PRELOAD=./libtest/.libs/libhostname.so
 
90
 </setenv>
85
91
 <command>
86
92
http://test.remote.haxx.se:265/path/2650002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-ntlm --proxytunnel -d "postit"
87
93
</command>
 
94
<precheck>
 
95
chkhostname curlhost
 
96
</precheck>
88
97
</client>
89
98
 
90
99
# Verify data after the test has been "shot"
92
101
<strip>
93
102
^User-Agent: curl/.*
94
103
</strip>
95
 
# We strip off a large chunk of the type-2 NTLM message since it depends on
96
 
# the local host name and thus differs on different machines!
97
 
<strippart>
98
 
s/^(Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA).*/$1/
99
 
</strippart>
100
104
<protocol nonewline="yes">
101
105
CONNECT test.remote.haxx.se:265 HTTP/1.1
102
106
Host: test.remote.haxx.se:265
105
109
 
106
110
CONNECT test.remote.haxx.se:265 HTTP/1.1
107
111
Host: test.remote.haxx.se:265
108
 
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA
 
112
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAAIAAgAdQAAAAAAAAAAAAAABoKBAKAeQjzKtCQ7ubW8S6MN7B59436GAxPu0CVROwwNBsgxML49gcbAXLT/bU+H5wrS9XNpbGx5Y3VybGhvc3Q=
109
113
Proxy-Connection: Keep-Alive
110
114
 
111
115
POST /path/2650002 HTTP/1.1