mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
new tests
This commit is contained in:
parent
713cb56fea
commit
73f0e32d1a
27
tests/data/test305
Normal file
27
tests/data/test305
Normal 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
30
tests/data/test403
Normal 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>
|
Loading…
Reference in New Issue
Block a user