From 0811c591203187e53d73ce6226a229971c2a7c7e Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 7 Feb 2019 11:50:13 -0500 Subject: [PATCH] fix bug with incorrect open3 redirection for test suite Change-Id: I261ac7a6ce1bede73a1dbc2dad9b20720f05a5d3 --- t/auto-daemon-tests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/auto-daemon-tests.pl b/t/auto-daemon-tests.pl index ae5b24f94..5b0d90bf4 100755 --- a/t/auto-daemon-tests.pl +++ b/t/auto-daemon-tests.pl @@ -15,7 +15,7 @@ ok -x $ENV{RTPE_BIN}, 'RTPE_BIN points to executable'; my $rtpe_stdout = File::Temp::tempfile() or die; my $rtpe_stderr = File::Temp::tempfile() or die; -my $rtpe_pid = open3(undef, $rtpe_stdout, $rtpe_stderr, +my $rtpe_pid = open3(undef, '>&'.fileno($rtpe_stdout), '>&'.fileno($rtpe_stderr), $ENV{RTPE_BIN}, qw(-t -1 -i 203.0.113.1 -i 2001:db8:4321::1 -n 2223 -c 12345 -f -L 7 -E -u 2222)); ok $rtpe_pid, 'daemon launched in background';