runtests: strip EOL on precheck output on Windows, too
Precheck failures would show on two lines in the test summary output otherwise.
This commit is contained in:
parent
70d2fca2f6
commit
419a745da6
@ -3791,7 +3791,7 @@ sub singletest_precheck {
|
||||
my @o = `$cmd 2> $LOGDIR/precheck-$testnum`;
|
||||
if($o[0]) {
|
||||
$why = $o[0];
|
||||
chomp $why;
|
||||
$why =~ s/[\r\n]//g;
|
||||
}
|
||||
elsif($?) {
|
||||
$why = "precheck command error";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user