|
@@ -62,10 +62,9 @@ is($string2, $string1, '{from,to}_handle');
|
|
|
$pid = spawn(exec => 'cat',
|
|
$pid = spawn(exec => 'cat',
|
|
|
from_file => $tmp1_name,
|
|
from_file => $tmp1_name,
|
|
|
to_file => $tmp2_name,
|
|
to_file => $tmp2_name,
|
|
|
- wait_child => 1,
|
|
|
|
|
- timeout => 5);
|
|
|
|
|
|
|
+ wait_child => 1);
|
|
|
|
|
|
|
|
-ok($pid, 'execute cat program, I/O to filenames, wait and timeout');
|
|
|
|
|
|
|
+ok($pid, 'execute cat program, I/O to filenames and wait');
|
|
|
|
|
|
|
|
open $tmp_fh, '<', $tmp2_name
|
|
open $tmp_fh, '<', $tmp2_name
|
|
|
or die "cannot open $tmp2_name: $!";
|
|
or die "cannot open $tmp2_name: $!";
|