mirror of
https://github.com/curl/curl.git
synced 2026-08-24 12:03:34 +03:00
tests: add test1511 to check timecond clean-up
Verifies the timecond fix in commit c49ed0b6c0
This commit is contained in:
parent
c49ed0b6c0
commit
d791179d7f
4 changed files with 141 additions and 2 deletions
|
|
@ -109,7 +109,7 @@ test1400 test1401 test1402 test1403 test1404 test1405 test1406 test1407 \
|
|||
test1408 test1409 test1410 test1411 test1412 test1413 \
|
||||
\
|
||||
test1500 test1501 test1502 test1503 test1504 test1505 test1506 test1507 \
|
||||
test1508 test1509 test1510 \
|
||||
test1508 test1509 test1510 test1511 \
|
||||
\
|
||||
test1900 test1901 test1902 test1903 \
|
||||
\
|
||||
|
|
|
|||
62
tests/data/test1511
Normal file
62
tests/data/test1511
Normal file
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue