From 8dfddd279b450fa460950f6bb13323c66a2256a5 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 8 Oct 2008 21:46:55 +0000 Subject: Added tests 1082 through 1085 to test symbolic --interface parameters --- tests/data/test1082 | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 tests/data/test1082 (limited to 'tests/data/test1082') diff --git a/tests/data/test1082 b/tests/data/test1082 new file mode 100644 index 000000000..d58dd25cd --- /dev/null +++ b/tests/data/test1082 @@ -0,0 +1,55 @@ + + + +HTTP +HTTP GET +--interface + + + +# +# Server-side + + +HTTP/1.1 200 OK +Date: Mon, 28 Jul 2008 14:49:00 GMT +Server: test-server/fake +Content-Length: 6 +Connection: close +Content-Type: text/plain + +-foo- + + + +# +# Client-side + + +http + + +HTTP GET with localhost --interface + + +http://%HOSTIP:%HTTPPORT/1082 --interface localhost + + +perl -e "print 'Test requires default test server host address' if ( '%CLIENTIP' ne '127.0.0.1' );" + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /1082 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + + + + -- cgit v1.2.3