about summary refs log tree commit homepage
path: root/t/httpd-corner.t
diff options
context:
space:
mode:
Diffstat (limited to 't/httpd-corner.t')
-rw-r--r--t/httpd-corner.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/httpd-corner.t b/t/httpd-corner.t
index 4ef1618a..4ed34934 100644
--- a/t/httpd-corner.t
+++ b/t/httpd-corner.t
@@ -266,7 +266,7 @@ SKIP: {
         my $cmd = [qw(curl --tcp-nodelay --no-buffer -T- -HExpect: -sS), $url];
         open my $cout, '+>', undef or die;
         open my $cerr, '>', undef or die;
-        my $rdr = { 0 => fileno($r), 1 => fileno($cout), 2 => fileno($cerr) };
+        my $rdr = { 0 => $r, 1 => $cout, 2 => $cerr };
         my $pid = spawn($cmd, undef, $rdr);
         close $r or die "close read pipe: $!";
         foreach my $c ('a'..'z') {