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

« back to all changes in this revision

Viewing changes to tests/data/test67

  • 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:
63
63
 <name>
64
64
HTTP with NTLM authorization
65
65
 </name>
 
66
 <setenv>
 
67
# we force our own host name, in order to make the test machine independent
 
68
CURL_GETHOSTNAME=curlhost
 
69
# we try to use the LD_PRELOAD hack, if not a debug build
 
70
LD_PRELOAD=./libtest/.libs/libhostname.so
 
71
 </setenv>
66
72
 <command>
67
73
http://%HOSTIP:%HTTPPORT/67 -u testuser:testpass --ntlm
68
74
</command>
 
75
<precheck>
 
76
chkhostname curlhost
 
77
</precheck>
69
78
</client>
70
79
 
71
80
# Verify data after the test has been "shot"
73
82
<strip>
74
83
^User-Agent:.*
75
84
</strip>
76
 
# We strip off a large chunk of the type-2 NTLM message since it depends on
77
 
# the local host name and thus differs on different machines!
78
 
<strippart>
79
 
s/^(Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA).*/$1/
80
 
</strippart>
81
85
<protocol>
82
86
GET /67 HTTP/1.1
83
87
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
86
90
Accept: */*
87
91
 
88
92
GET /67 HTTP/1.1
89
 
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA
 
93
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoKBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyY3VybGhvc3Q=
90
94
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
91
95
Host: %HOSTIP:%HTTPPORT
92
96
Accept: */*