diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-12-06 17:51:40 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-12-07 17:11:51 +0100 |
commit | 45c6448e68da77d9d553bc221c449dcb3b4ad49f (patch) | |
tree | 3e9c11d7f3a3ef674acff9cdb3b8313107484574 | |
parent | 1bea12211432bee76ac674535348ab886811b13a (diff) | |
download | curl-45c6448e68da77d9d553bc221c449dcb3b4ad49f.tar.gz |
test1556: adjust for hyper
Closes #8105
-rw-r--r-- | tests/data/DISABLED | 1 | ||||
-rw-r--r-- | tests/data/test1556 | 26 | ||||
-rw-r--r-- | tests/libtest/lib1556.c | 4 |
3 files changed, 15 insertions, 16 deletions
diff --git a/tests/data/DISABLED b/tests/data/DISABLED index d602e48fe..af9371d70 100644 --- a/tests/data/DISABLED +++ b/tests/data/DISABLED @@ -65,7 +65,6 @@ 1528 1533 1540 -1556 1591 1700 1701 diff --git a/tests/data/test1556 b/tests/data/test1556 index 40a2e1244..08951a8d2 100644 --- a/tests/data/test1556 +++ b/tests/data/test1556 @@ -10,18 +10,18 @@ HTTP GET # Server-side <reply> <data nocheck="yes"> -HTTP/1.1 200 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 -Long: %repeat[100001 x A]% - +HTTP/1.1 200 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
+Long: %repeat[100001 x A]%
+
-foo- </data> </reply> @@ -54,7 +54,7 @@ Accept: */* </protocol> <stdout> -foo- -Max: 100008 +Max = 100009 </stdout> </verify> </testcase> diff --git a/tests/libtest/lib1556.c b/tests/libtest/lib1556.c index 38de9ef8e..bd8508134 100644 --- a/tests/libtest/lib1556.c +++ b/tests/libtest/lib1556.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -67,7 +67,7 @@ int test(char *URL) goto test_cleanup; } - printf("Max: %ld\n", (long)info.largest); + printf("Max = %ld\n", (long)info.largest); test_cleanup: |