]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test599: adjusted to work in hyper mode
authorDaniel Stenberg <daniel@haxx.se>
Tue, 8 Jun 2021 09:37:31 +0000 (11:37 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 10 Jun 2021 06:42:19 +0000 (08:42 +0200)
Closes #7209

tests/data/test599
tests/libtest/lib599.c

index 269b8c663bf7722b42f34ec831dd0d4fb6b4dd8f..5911b96efc632dd0734357832418d71d70fcedcf 100644 (file)
@@ -80,7 +80,7 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER
 # Verify data after the test has been "shot"
 <verify>
 <file name="log/ip%TESTNUMBER">
-CL: -1
+CL -1
 </file>
 </verify>
 </testcase>
index 8202919f785e1108f8be45a830ec8164bfe4dc35..3f2b61c397cb63209aa67078057111dff150ebee 100644 (file)
@@ -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
@@ -82,7 +82,7 @@ int test(char *URL)
                             &content_length);
     moo = fopen(libtest_arg2, "wb");
     if(moo) {
-      fprintf(moo, "CL: %.0f\n", content_length);
+      fprintf(moo, "CL %.0f\n", content_length);
       fclose(moo);
     }
   }