mirror of
https://github.com/curl/curl.git
synced 2025-04-18 16:30:45 +08:00
runtests: for mode="text" on <stdout>, fix newlines on both parts
Closes #12612
This commit is contained in:
parent
b83729a339
commit
8620b11c3a
@ -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'}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user