1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

test566: adjust to work with hyper mode

Closes #7209
This commit is contained in:
Daniel Stenberg 2021-06-08 09:41:28 +02:00
parent 92c588f04b
commit cd5ca9bb38
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 4 additions and 4 deletions

View 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

View 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);
}
}