]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test566: adjust to work with hyper mode
authorDaniel Stenberg <daniel@haxx.se>
Tue, 8 Jun 2021 07:41:28 +0000 (09:41 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 10 Jun 2021 06:42:13 +0000 (08:42 +0200)
Closes #7209

tests/data/test566
tests/libtest/lib566.c

index 14052fb31971f8972dbb9f0b12b921de80d49ad9..09144f5d9851e022ef610f34df801efa1120a594 100644 (file)
@@ -39,13 +39,13 @@ HTTP GET with CURLINFO_CONTENT_LENGTH_DOWNLOAD and 0 bytes transfer
  <command>
 http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER
 </command>
-</client> 
+</client>
 
 #
 # Verify data after the test has been "shot"
 <verify>
 <file name="log/ip%TESTNUMBER">
-CL: 0
+CL 0
 </file>
 <protocol>
 GET /%TESTNUMBER HTTP/1.1\r
index fdf17ed416284e1433af7f64af99358c76c1cb4b..a619be7f122a182d94beb0361440627e6984e844 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
@@ -53,7 +53,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);
     }
   }