Base code merged to SPIN 2.4
[platform/upstream/curl.git] / tests / data / test65
index e734c27..001d598 100644 (file)
@@ -1,3 +1,11 @@
+<testcase>
+<info>
+<keywords>
+HTTP
+HTTP GET
+HTTP Digest auth
+</keywords>
+</info>
 # Server-side
 <reply>
 <data>
@@ -43,13 +51,17 @@ This is not the real page either
 <server>
 http
 </server>
+<features>
+!SSPI
+crypto
+</features>
  <name>
 HTTP with Digest authorization with bad password
  </name>
  <command>
-http://%HOSTIP:%HOSTPORT/65 -u testuser:test2pass --digest
+http://%HOSTIP:%HTTPPORT/65 -u testuser:test2pass --digest
 </command>
-</test>
+</client>
 
 # Verify data after the test has been "shot"
 <verify>
@@ -58,16 +70,15 @@ http://%HOSTIP:%HOSTPORT/65 -u testuser:test2pass --digest
 </strip>
 <protocol>
 GET /65 HTTP/1.1\r
-Host: 127.0.0.1:8999\r
-Pragma: no-cache\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 \r
 GET /65 HTTP/1.1\r
 Authorization: Digest username="testuser", realm="testrealm", nonce="2053604145", uri="/65", response="66d68d3251f1839576ba7c766cf9205b"\r
 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3\r
-Host: 127.0.0.1:8999\r
-Pragma: no-cache\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 \r
 </protocol>
 </verify>
+</testcase>