runtests: for mode="text" on <stdout>, fix newlines on both parts
Closes #12612
This commit is contained in:
Родитель
b83729a339
Коммит
8620b11c3a
|
@ -1235,6 +1235,8 @@ sub singletest_check {
|
||||||
# text mode when running on windows: fix line endings
|
# text mode when running on windows: fix line endings
|
||||||
s/\r\n/\n/g for @validstdout;
|
s/\r\n/\n/g for @validstdout;
|
||||||
s/\n/\r\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'}) {
|
if($hash{'nonewline'}) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче