mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
updated for the new SSL -k
added two new tests to test the absense of -k to insecure SSL sites
This commit is contained in:
parent
87c43517cd
commit
c0790ccf08
@ -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
|
||||
|
@ -18,7 +18,7 @@ MooMoo
|
||||
simple HTTPS GET
|
||||
</name>
|
||||
<command>
|
||||
https://%HOSTIP:%HTTPSPORT/300
|
||||
-k https://%HOSTIP:%HTTPSPORT/300
|
||||
</command>
|
||||
</test>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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">
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user