diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-11-11 21:59:25 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-11-11 21:59:25 +0000 |
commit | d07d1a6ef85d6e42d3e376935cdede698c968556 (patch) | |
tree | 4856cc9450f40a1863ff23462711a043e6391f19 /tests/data | |
parent | 8bdd60fa71c369ea45b9a5d173d0de23a576ac68 (diff) |
Added test case 560:
This test was added after the HTTPS-using-multi-interface with OpenSSL
regression of 7.19.1 to hopefully prevent this embarassing mistake from
appearing again... Unfortunately the bug wasn't triggered by this test, which
presumably is because the connect to a local server is too fast/different
compared to the real/distant servers we saw the bug happen with.
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/test560 | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/tests/data/test560 b/tests/data/test560 new file mode 100644 index 000000000..0e991b825 --- /dev/null +++ b/tests/data/test560 @@ -0,0 +1,56 @@ +<testcase> +<info> +<keywords> +HTTPS +HTTP GET +multi +</keywords> +</info> + +# +# Server-side +<reply> +<data> +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Length: 7 + +MooMoo +</data> +</reply> + +# +# Client-side +<client> +<features> +SSL +</features> +<server> +https +</server> +<tool> +lib560 +</tool> + <name> +simple HTTPS GET with multi interface + </name> + <command> +https://%HOSTIP:%HTTPSPORT/560 +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<strip> +^User-Agent:.* +</strip> +<protocol> +GET /560 HTTP/1.1
+Host: %HOSTIP:%HTTPSPORT
+Accept: */*
+
+</protocol> +</verify> +</testcase> |