diff options
-rw-r--r-- | tests/data/test305 | 27 | ||||
-rw-r--r-- | tests/data/test403 | 30 |
2 files changed, 57 insertions, 0 deletions
diff --git a/tests/data/test305 b/tests/data/test305 new file mode 100644 index 000000000..70432039f --- /dev/null +++ b/tests/data/test305 @@ -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> diff --git a/tests/data/test403 b/tests/data/test403 new file mode 100644 index 000000000..4c04366a5 --- /dev/null +++ b/tests/data/test403 @@ -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> |