Revert "Do not confuse TAP::Parser by mixing up stderr with stdout."

This reverts commit 3d3bb26a13.

Reviewed-by: Frederik Wedel-Heinen <fwh.openssl@gmail.com>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26374)

(cherry picked from commit 824d23772b)
This commit is contained in:
Bernd Edlinger 2025-01-09 21:24:44 +01:00 committed by Tomas Mraz
parent dff989ba45
commit 3e44757421
1 changed files with 1 additions and 7 deletions

View File

@ -290,14 +290,8 @@ sub start
if ($self->debug) {
print STDERR "Server command: $execcmd\n";
}
my $sin = undef;
my $sout = undef;
if ("$^O" eq "MSWin32") {
$pid = IPC::Open2::open2($sout, $sin, $execcmd) or die "Failed to $execcmd: $!\n";
} else {
$pid = IPC::Open3::open3($sin, $sout, undef, $execcmd) or die "Failed to $execcmd: $!\n";
}
$pid = IPC::Open2::open2(my $sout, my $sin, $execcmd) or die "Failed to $execcmd: $!\n";
$self->{serverpid} = $pid;
# Process the output from s_server until we find the ACCEPT line, which