tests: correctly close stdout with IPC::Run
while IPC::Run supports <&-, it does not support >&- apparently.
This commit is contained in:
parent
9cd2d1fb8a
commit
2922603cc4
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue