updated for the new SSL -k
authorDaniel Stenberg <daniel@haxx.se>
Mon, 26 Aug 2002 23:06:16 +0000 (23:06 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 26 Aug 2002 23:06:16 +0000 (23:06 +0000)
added two new tests to test the absense of -k to insecure SSL sites

tests/data/Makefile.am
tests/data/test300
tests/data/test301
tests/data/test302
tests/data/test304
tests/data/test400
tests/data/test401
tests/data/test402

index a9504be..c849d91 100644 (file)
@@ -16,5 +16,4 @@ test105  test114  test123  test19   test24   test302  test43   test31 \
 test106  test115  test124  test190  test25   test303  test44   test38 \
 test107  test116  test125  test2    test26   test33   test45   test126 \
 test304  test39   test32   test128  test48 \
-test130  test131  test132  test133  test134 test135
-
+test130  test131  test132  test133  test134 test135 test403 test305
index 6190632..7daf261 100644 (file)
@@ -18,7 +18,7 @@ MooMoo
 simple HTTPS GET
  </name>
  <command>
-https://%HOSTIP:%HTTPSPORT/300
+-k https://%HOSTIP:%HTTPSPORT/300
 </command>
 </test>
 
index fc9edbe..88ee14b 100644 (file)
@@ -18,7 +18,7 @@ Funny-head: yesyes
 HTTPS GET with user and password
  </name>
  <command>
- -u fake:user https://%HOSTIP:%HTTPSPORT/2
+-k -u fake:user https://%HOSTIP:%HTTPSPORT/2
 </command>
 </test>
 
index 9009603..1c0d34c 100644 (file)
@@ -10,7 +10,7 @@
 HTTPS GET over HTTP proxy fails
  </name>
  <command>
- -U fake:user -x %HOSTIP:%HOSTPORT https://ssl.fakeurl-to.test/slash/302
+-k -U fake:user -x %HOSTIP:%HOSTPORT https://ssl.fakeurl-to.test/slash/302
 </command>
 </test>
 
index da58a82..fe1559d 100644 (file)
@@ -16,7 +16,7 @@ blablabla
 HTTPS multipart formpost
  </name>
  <command>
-https://%HOSTIP:%HTTPSPORT/we/want/304 -F name=daniel -F tool=curl -F file=@log/test304.txt
+-k https://%HOSTIP:%HTTPSPORT/we/want/304 -F name=daniel -F tool=curl -F file=@log/test304.txt
 </command>
 # We create this file before the command is invoked!
 <file name="log/test304.txt">
index 2c118b8..c8b3619 100644 (file)
@@ -23,7 +23,7 @@ dr-xr-xr-x   5 0        1            512 Oct  1  1997 usr
 FTPS dir list PASV
  </name>
  <command>
-ftps://%HOSTIP:%FTPSPORT/
+-k ftps://%HOSTIP:%FTPSPORT/
 </command>
 <file name="log/ftpserver.cmd">
 REPLY EPSV 500 no such command
index 8719ca8..c23420d 100644 (file)
@@ -9,7 +9,7 @@ moooooooo
 FTPS download with strict timeout and slow CWD
  </name>
  <command>
-ftps://%HOSTIP:%FTPSPORT/path/to/file/401 -m 4
+-k ftps://%HOSTIP:%FTPSPORT/path/to/file/401 -m 4
 </command>
 <file name="log/ftpserver.cmd">
 DELAY CWD 15
index 27b265c..8699df0 100644 (file)
@@ -9,7 +9,7 @@ moooooooo
 FTPS operation to FTP port
  </name>
  <command>
-ftps://%HOSTIP:%FTPPORT/path/to/file/402
+-k ftps://%HOSTIP:%FTPPORT/path/to/file/402
 </command>
 </test>