mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 09:08:49 -05:00
parent
372361f6ca
commit
e7ae6f013d
@ -80,7 +80,7 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER
|
|||||||
# Verify data after the test has been "shot"
|
# Verify data after the test has been "shot"
|
||||||
<verify>
|
<verify>
|
||||||
<file name="log/ip%TESTNUMBER">
|
<file name="log/ip%TESTNUMBER">
|
||||||
CL: -1
|
CL -1
|
||||||
</file>
|
</file>
|
||||||
</verify>
|
</verify>
|
||||||
</testcase>
|
</testcase>
|
||||||
|
@ -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
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
@ -82,7 +82,7 @@ int test(char *URL)
|
|||||||
&content_length);
|
&content_length);
|
||||||
moo = fopen(libtest_arg2, "wb");
|
moo = fopen(libtest_arg2, "wb");
|
||||||
if(moo) {
|
if(moo) {
|
||||||
fprintf(moo, "CL: %.0f\n", content_length);
|
fprintf(moo, "CL %.0f\n", content_length);
|
||||||
fclose(moo);
|
fclose(moo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user