mirror of
https://github.com/curl/curl.git
synced 2026-05-01 13:17:51 +03:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue