summaryrefslogtreecommitdiff
path: root/tests/data/test1215
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-05-20 16:24:01 +0200
committerDaniel Stenberg <daniel@haxx.se>2022-05-20 16:24:13 +0200
commitcb41a0169c54b3486e028d03a98f318b609f9e07 (patch)
tree413de69064861b479540e12c7a22e261447f066a /tests/data/test1215
parent709ae2454f4387e6533e35a161ded6a5650cdf1c (diff)
downloadcurl-cb41a0169c54b3486e028d03a98f318b609f9e07.tar.gz
tests: update NTLM tests to use new host name
Also drop the debug requirement, remove the setenv sections, remove prechecks and add NTLM to the top keywords. Closes #8889
Diffstat (limited to 'tests/data/test1215')
-rw-r--r--tests/data/test121519
1 files changed, 5 insertions, 14 deletions
diff --git a/tests/data/test1215 b/tests/data/test1215
index 02e0681a9..9f075c333 100644
--- a/tests/data/test1215
+++ b/tests/data/test1215
@@ -6,6 +6,7 @@ HTTP
HTTP GET
HTTP NTLM auth
HTTP proxy
+NTLM
</keywords>
</info>
# Server-side
@@ -60,27 +61,17 @@ Finally, this is the real page!
NTLM
SSL
!SSPI
-debug
proxy
</features>
<server>
http
</server>
- <name>
+<name>
HTTP with server NTLM authorization using a proxy
- </name>
- <setenv>
-# we force our own host name, in order to make the test machine independent
-CURL_GETHOSTNAME=curlhost
-# we try to use the LD_PRELOAD hack, if not a debug build
-LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
- </setenv>
- <command>
+</name>
+<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --ntlm --proxy http://%HOSTIP:%HTTPPORT
</command>
-<precheck>
-chkhostname curlhost
-</precheck>
</client>
# Verify data after the test has been "shot"
@@ -95,7 +86,7 @@ Proxy-Connection: Keep-Alive
GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyY3VybGhvc3Q=
+Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAALAAsAeAAAAAAAAAAAAAAAhoIBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyAAAAAAAAAAAAAAA=
User-Agent: curl/%VERSION
Accept: */*
Proxy-Connection: Keep-Alive