tests: correctly close stdout with IPC::Run

while IPC::Run supports <&-, it does not support >&- apparently.
This commit is contained in:
Michael Stapelberg 2013-02-19 00:26:00 +01:00
parent 9cd2d1fb8a
commit 2922603cc4
1 changed files with 1 additions and 1 deletions

View File

@ -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 doesnt terminate