From 58c3bdc1a4617aa16fc0f5e2be0655b3ff1e8809 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 23 May 2001 15:00:48 +0000 Subject: new test case file format --- tests/data/test2 | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 tests/data/test2 (limited to 'tests/data/test2') diff --git a/tests/data/test2 b/tests/data/test2 new file mode 100644 index 000000000..d8c72d074 --- /dev/null +++ b/tests/data/test2 @@ -0,0 +1,42 @@ +# +# Server-side + + +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Type: text/html +Funny-head: yesyes + + + + +# +# Client-side + + +HTTP GET with user and password + + + -u fake:user http://%HOSTIP:%HOSTPORT/2 + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /2 HTTP/1.1 +Authorization: Basic ZmFrZTp1c2Vy +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* + + + +[insert full protocol verifiction dump here] + + -- cgit v1.2.3