diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/DISABLED | 2 | ||||
-rw-r--r-- | tests/data/test1429 | 50 | ||||
-rw-r--r-- | tests/data/test1432 | 3 |
3 files changed, 28 insertions, 27 deletions
diff --git a/tests/data/DISABLED b/tests/data/DISABLED index 09d4118eb..c2e10dd37 100644 --- a/tests/data/DISABLED +++ b/tests/data/DISABLED @@ -90,10 +90,8 @@ 1288 1294 1417 -1429 1430 1431 -1432 1455 1456 1525 diff --git a/tests/data/test1429 b/tests/data/test1429 index 9fc3cd246..2f9dfb931 100644 --- a/tests/data/test1429 +++ b/tests/data/test1429 @@ -9,17 +9,17 @@ HTTP/0.9 <reply> <data nocheck="yes"> -HTTP/1.1 2345 OK -Date: Tue, 09 Nov 2010 14:49:00 GMT -Server: test-server/fake -Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT -ETag: "21025-dc7-39462498" -Accept-Ranges: bytes -Content-Length: 6 -Connection: close -Content-Type: text/html -Funny-head: yesyes - +HTTP/1.1 999 OK
+Date: Tue, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
+ETag: "21025-dc7-39462498"
+Accept-Ranges: bytes
+Content-Length: 6
+Connection: close
+Content-Type: text/html
+Funny-head: yesyes
+
-foo- </data> </reply> @@ -32,10 +32,10 @@ http </server> <name> -HTTP GET with 4-digit response code +HTTP GET with 999 response code </name> <command> -http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out '%{response_code}' --http0.9 +http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out '%{response_code}' </command> </client> @@ -43,19 +43,19 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out '%{response_code}' --http0.9 # Verify data after the test has been "shot" <verify> <stdout nonewline="yes"> -HTTP/1.1 2345 OK -Date: Tue, 09 Nov 2010 14:49:00 GMT -Server: test-server/fake -Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT -ETag: "21025-dc7-39462498" -Accept-Ranges: bytes -Content-Length: 6 -Connection: close -Content-Type: text/html -Funny-head: yesyes - +HTTP/1.1 999 OK
+Date: Tue, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
+ETag: "21025-dc7-39462498"
+Accept-Ranges: bytes
+Content-Length: 6
+Connection: close
+Content-Type: text/html
+Funny-head: yesyes
+
-foo- -234 +999 </stdout> <protocol> GET /%TESTNUMBER HTTP/1.1
diff --git a/tests/data/test1432 b/tests/data/test1432 index ab76e94b0..d134688a3 100644 --- a/tests/data/test1432 +++ b/tests/data/test1432 @@ -48,5 +48,8 @@ User-Agent: curl/%VERSION Accept: */*
</protocol> +<errorcode> +1 +</errorcode> </verify> </testcase> |