]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test500: adjust to work with hyper mode
authorDaniel Stenberg <daniel@haxx.se>
Mon, 7 Jun 2021 11:16:38 +0000 (13:16 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 7 Jun 2021 21:54:54 +0000 (23:54 +0200)
tests/data/test500
tests/libtest/lib500.c

index e0d8e93d3feb8547144d0895a79b4722f4647107..514d0b97451a21aefb38e6bc2702a21fd77f7bc8 100644 (file)
@@ -46,7 +46,7 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER
 # Verify data after the test has been "shot"
 <verify>
 <file name="log/ip%TESTNUMBER">
-IP: %HOSTIP
+IP %HOSTIP
 </file>
 <protocol>
 GET /%TESTNUMBER HTTP/1.1\r
index d3b4b60f789c8bb9dbe3b05e06084be07183344a..5bb0cff44b17146cce6bd67822ad46cb29b12b41 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
@@ -101,7 +101,7 @@ int test(char *URL)
         curl_off_t time_pretransfer;
         curl_off_t time_starttransfer;
         curl_off_t time_total;
-        fprintf(moo, "IP: %s\n", ipstr);
+        fprintf(moo, "IP %s\n", ipstr);
         curl_easy_getinfo(curl, CURLINFO_NAMELOOKUP_TIME_T, &time_namelookup);
         curl_easy_getinfo(curl, CURLINFO_CONNECT_TIME_T, &time_connect);
         curl_easy_getinfo(curl, CURLINFO_PRETRANSFER_TIME_T,