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 c9b60f0053
Fixes #8920
Closes #8936
This commit is contained in:
Marc Hoersken 2022-05-30 00:32:23 +02:00 committed by Daniel Stenberg
parent 22eab9d413
commit 2d7044a191
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -47,7 +47,7 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER
# Verify data after the test has been "shot"
<verify>
<stdout mode="text">
<stdout>
Date == Thu, 09 Nov 2010 14:49:00 GMT
Server == test with trailing space
Content-Type == text/html