aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test560
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-11-11 21:59:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-11-11 21:59:25 +0000
commitd07d1a6ef85d6e42d3e376935cdede698c968556 (patch)
tree4856cc9450f40a1863ff23462711a043e6391f19 /tests/data/test560
parent8bdd60fa71c369ea45b9a5d173d0de23a576ac68 (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/test560')
-rw-r--r--tests/data/test56056
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>