]> granicus.if.org Git - curl/commitdiff
Fixed test to use HTTPS as documented.
authorDan Fandrich <dan@coneharvesters.com>
Sat, 9 Feb 2008 02:01:36 +0000 (02:01 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Sat, 9 Feb 2008 02:01:36 +0000 (02:01 +0000)
tests/data/test303

index 87b86ede76eb0223ddccfe278eed09edc08c3a6a..725193b3e54db9a058df9517cd6be8ec4914bde0 100644 (file)
@@ -1,4 +1,12 @@
 <testcase>
+<info>
+<keywords>
+HTTPS
+HTTP GET
+timeout
+</keywords>
+</info>
+
 # Server-side
 <reply>
 <data>
@@ -9,7 +17,7 @@ Connection: close
 <html>result</html>
 </data>
 <postcmd>
-wait 10
+wait 20
 </postcmd>
 </reply>
 
@@ -22,10 +30,10 @@ SSL
 https
 </server>
  <name>
-HTTPS with 2 secs timeout
+HTTPS with 7 secs timeout
  </name>
  <command>
-http://%HOSTIP:%HTTPPORT/want/303 -m 2
+-k https://%HOSTIP:%HTTPSPORT/want/303 -m 7
 </command>
 </client>
 
@@ -36,7 +44,7 @@ http://%HOSTIP:%HTTPPORT/want/303 -m 2
 </strip>
 <protocol>
 GET /want/303 HTTP/1.1\r
-Host: %HOSTIP:%HTTPPORT\r
+Host: %HOSTIP:%HTTPSPORT\r
 Accept: */*\r
 \r
 </protocol>