runtests: for mode="text" on <stdout>, fix newlines on both parts

Closes #12612
This commit is contained in:
Daniel Stenberg 2024-01-01 22:48:09 +01:00
parent b83729a339
commit 8620b11c3a
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -1235,6 +1235,8 @@ sub singletest_check {
# text mode when running on windows: fix line endings
s/\r\n/\n/g for @validstdout;
s/\n/\r\n/g for @validstdout;
s/\r\n/\n/g for @actual;
s/\n/\r\n/g for @actual;
}
if($hash{'nonewline'}) {