summaryrefslogtreecommitdiff
path: root/tests/data/test1511
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2013-04-22 20:07:15 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-04-22 22:46:47 +0200
commitd791179d7f900cccab9f68fc8e8f2331179a8edb (patch)
treed0dae31ca08709b1785f6e23f0fa4eec7a5a7f49 /tests/data/test1511
parentc49ed0b6c0fad21b77fe8d17d7b5bef182c5ecdf (diff)
downloadcurl-d791179d7f900cccab9f68fc8e8f2331179a8edb.tar.gz
tests: add test1511 to check timecond clean-up
Verifies the timecond fix in commit c49ed0b6c0f
Diffstat (limited to 'tests/data/test1511')
-rw-r--r--tests/data/test151162
1 files changed, 62 insertions, 0 deletions
diff --git a/tests/data/test1511 b/tests/data/test1511
new file mode 100644
index 000000000..947ad26da
--- /dev/null
+++ b/tests/data/test1511
@@ -0,0 +1,62 @@
+<testcase>
+<info>
+<keywords>
+HTTP
+</keywords>
+</info>
+
+# Server-side
+<reply>
+<data>
+HTTP/1.1 200
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fakem
+Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT
+Content-Type: text/html
+Content-Length: 12
+Connection: close
+
+Hello World
+</data>
+
+<datacheck>
+HTTP/1.1 200
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fakem
+Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT
+Content-Type: text/html
+Content-Length: 12
+Connection: close
+
+HTTP/1.1 200
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fakem
+Last-Modified: Mon, 22 Apr 2013 17:45:05 GMT
+Content-Type: text/html
+Content-Length: 12
+Connection: close
+
+Hello World
+</datacheck>
+
+</reply>
+
+# Client-side
+<client>
+<server>
+http
+</server>
+<features>
+http
+</features>
+<tool>
+lib1511
+</tool>
+<name>
+HTTP GET time conditions in repeated requests
+</name>
+<command>
+http://%HOSTIP:%HTTPPORT/1511
+</command>
+</client>
+</testcase>