1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

new tests

This commit is contained in:
Daniel Stenberg 2002-08-30 10:58:37 +00:00
parent 713cb56fea
commit 73f0e32d1a
2 changed files with 57 additions and 0 deletions

27
tests/data/test305 Normal file
View File

@ -0,0 +1,27 @@
# Server-side
<reply>
<data>
</data>
</reply>
# Client-side
<client>
<name>
insecure HTTPS without permission
</name>
<command>
https://%HOSTIP:%HOSTPORT/want/305 --cacert moooo
</command>
</test>
# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent:.*
</strip>
<protocol>
</protocol>
<errorcode>
60
</errorcode>
</verify>

30
tests/data/test403 Normal file
View File

@ -0,0 +1,30 @@
#
# Server-side
<reply name="1">
<data>
</data>
</reply>
#
# Client-side
<client>
<name>
insecure FTPS without permission
</name>
<command>
ftps://%HOSTIP:%FTPSPORT/403 --cacert foo
</command>
</test>
#
# Verify data after the test has been "shot"
<verify>
<strip>
filter off really nothing
</strip>
<errorcode>
60
</errorcode>
<protocol>
</protocol>
</verify>