aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-08-26 23:06:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-08-26 23:06:16 +0000
commitc0790ccf08b77db895d87ec2eea93fc39c749406 (patch)
treecd635f69a5c4f48d83a064ffa39686522fd5d907
parent87c43517cd3b6619a4142bf47db8accd31ccb208 (diff)
updated for the new SSL -k
added two new tests to test the absense of -k to insecure SSL sites
-rw-r--r--tests/data/Makefile.am3
-rw-r--r--tests/data/test3002
-rw-r--r--tests/data/test3012
-rw-r--r--tests/data/test3022
-rw-r--r--tests/data/test3042
-rw-r--r--tests/data/test4002
-rw-r--r--tests/data/test4012
-rw-r--r--tests/data/test4022
8 files changed, 8 insertions, 9 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index a9504be39..c849d91e7 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -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
diff --git a/tests/data/test300 b/tests/data/test300
index 619063278..7daf261e9 100644
--- a/tests/data/test300
+++ b/tests/data/test300
@@ -18,7 +18,7 @@ MooMoo
simple HTTPS GET
</name>
<command>
-https://%HOSTIP:%HTTPSPORT/300
+-k https://%HOSTIP:%HTTPSPORT/300
</command>
</test>
diff --git a/tests/data/test301 b/tests/data/test301
index fc9edbe3e..88ee14b3b 100644
--- a/tests/data/test301
+++ b/tests/data/test301
@@ -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>
diff --git a/tests/data/test302 b/tests/data/test302
index 9009603d9..1c0d34cc2 100644
--- a/tests/data/test302
+++ b/tests/data/test302
@@ -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>
diff --git a/tests/data/test304 b/tests/data/test304
index da58a8209..fe1559d5a 100644
--- a/tests/data/test304
+++ b/tests/data/test304
@@ -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">
diff --git a/tests/data/test400 b/tests/data/test400
index 2c118b83d..c8b361992 100644
--- a/tests/data/test400
+++ b/tests/data/test400
@@ -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
diff --git a/tests/data/test401 b/tests/data/test401
index 8719ca8ca..c23420ddf 100644
--- a/tests/data/test401
+++ b/tests/data/test401
@@ -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
diff --git a/tests/data/test402 b/tests/data/test402
index 27b265c34..8699df057 100644
--- a/tests/data/test402
+++ b/tests/data/test402
@@ -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>