summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-12-06 17:51:40 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-12-06 17:51:40 +0100
commit42e34d18ad0849773f5aad7ae5475051bb031860 (patch)
tree5249d1f12a66ecfd305eb1fd9a22c41dc60d6967
parent05f899c842a4c7f0b2367ecdda0c3ca0694c8eba (diff)
downloadcurl-bagder/hyper-1556.tar.gz
test1556: adjust for hyperbagder/hyper-1556
-rw-r--r--tests/data/DISABLED1
-rw-r--r--tests/data/test155626
-rw-r--r--tests/libtest/lib1556.c4
3 files changed, 15 insertions, 16 deletions
diff --git a/tests/data/DISABLED b/tests/data/DISABLED
index eaa0e2053..25b8d8fe4 100644
--- a/tests/data/DISABLED
+++ b/tests/data/DISABLED
@@ -66,7 +66,6 @@
1533
1540
1554
-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: