From: Marc Hoersken Date: Sun, 29 May 2022 22:32:23 +0000 (+0200) Subject: tests/data/test1940: use binary mode for expected stdout X-Git-Tag: curl-7_84_0~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d7044a1910863763e7311e5fa3a22f20e9d9a44;p=thirdparty%2Fcurl.git tests/data/test1940: use binary mode for expected stdout The generated stdout data is written in binary mode with [LF] line endings, therefore we also need to do a binary comparison. Assisted-by: Jay Satiro Assisted-by: Daniel Stenberg Follow up to c9b60f005358a364cbcddbebd8d12593acffdd84 Fixes #8920 Closes #8936 --- diff --git a/tests/data/test1940 b/tests/data/test1940 index 8e05538b5c..7f621b428d 100644 --- a/tests/data/test1940 +++ b/tests/data/test1940 @@ -47,7 +47,7 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER # Verify data after the test has been "shot" - + Date == Thu, 09 Nov 2010 14:49:00 GMT Server == test with trailing space Content-Type == text/html