diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-08-30 10:58:37 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-08-30 10:58:37 +0000 |
commit | 73f0e32d1a2e0a2b3e9845281197baf8471d96ed (patch) | |
tree | 10cdf42ebac591c2edbad12c8f5a810b6f7ed95b /tests/data | |
parent | 713cb56fea8a6339576742063bc743a6625d3b47 (diff) |
new tests
Diffstat (limited to 'tests/data')
-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> |