From 2922603cc4e2c5b36b6afea5127bcef9b11ab759 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 19 Feb 2013 00:26:00 +0100 Subject: [PATCH] tests: correctly close stdout with IPC::Run while IPC::Run supports <&-, it does not support >&- apparently. --- testcases/t/201-config-parser.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/t/201-config-parser.t b/testcases/t/201-config-parser.t index e36c13f3..182d7754 100644 --- a/testcases/t/201-config-parser.t +++ b/testcases/t/201-config-parser.t @@ -26,7 +26,7 @@ sub parser_calls { my $stdout; run [ '../test.config_parser', $command ], - '>&-', + '>/dev/null', '2>', \$stdout; # TODO: use a timeout, so that we can error out if it doesn’t terminate -- 2.39.5