From 5d70a61b9460498558de2f16038a3687811b1622 Mon Sep 17 00:00:00 2001 From: Colin Hogben Date: Wed, 18 Jan 2012 22:19:57 +0100 Subject: Add two tests for telnet: URLs Add simple telnet tests which (ab)use the http server. The second test checks for an input file handling bug. --- tests/data/test1327 | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 tests/data/test1327 (limited to 'tests/data/test1327') diff --git a/tests/data/test1327 b/tests/data/test1327 new file mode 100644 index 000000000..a6e3d4fdc --- /dev/null +++ b/tests/data/test1327 @@ -0,0 +1,47 @@ + + + +TELNET +UPLOAD + + + +# +# Server-side + + + +# +# Client-side + + +http + + +telnet + + +TELNET check of upload with stdout redirected + + +GET /ignore/for/1327 HTTP/1.0 + + + +GET /we/want/1327 HTTP/1.0 + + + +telnet://%HOSTIP:%HTTPPORT -T log/1327.txt + + + +# +# Verify data after the test has been "shot" + + +GET /we/want/1327 HTTP/1.0 + + + + -- cgit v1.2.3