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/test1326 | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 tests/data/test1326 (limited to 'tests/data/test1326') diff --git a/tests/data/test1326 b/tests/data/test1326 new file mode 100644 index 000000000..bb0cbaccf --- /dev/null +++ b/tests/data/test1326 @@ -0,0 +1,48 @@ + + + +TELNET +UPLOAD + + + +# +# Server-side + + +HTTP/1.1 200 swsclose + +moo + + + +# +# Client-side + + +http + + +telnet + + +TELNET to HTTP server + + +GET /we/want/1326 HTTP/1.0 + + + +telnet://%HOSTIP:%HTTPPORT + + + +# +# Verify data after the test has been "shot" + + +GET /we/want/1326 HTTP/1.0 + + + + -- cgit v1.2.3