about summary refs log tree commit homepage
path: root/t/import.t
diff options
context:
space:
mode:
Diffstat (limited to 't/import.t')
-rw-r--r--t/import.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/import.t b/t/import.t
index 3cf7e2d2..cfbe501b 100644
--- a/t/import.t
+++ b/t/import.t
@@ -44,7 +44,7 @@ if ($v2) {
         $in->flush or die "flush failed: $!";
         $in->seek(0, SEEK_SET);
         my $out = tempfile();
-        my $pid = spawn(\@cmd, {}, { 0 => fileno($in), 1 => fileno($out)});
+        my $pid = spawn(\@cmd, {}, { 0 => $in, 1 => $out });
         is(waitpid($pid, 0), $pid, 'waitpid succeeds on hash-object');
         is($?, 0, 'hash-object');
         $out->seek(0, SEEK_SET);