Browse Source

new tests

darwin-pinnedpubkey
Daniel Stenberg 21 years ago
parent
commit
73f0e32d1a
  1. 27
      tests/data/test305
  2. 30
      tests/data/test403

27
tests/data/test305

@ -0,0 +1,27 @@ @@ -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

@ -0,0 +1,30 @@ @@ -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>
Loading…
Cancel
Save