]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/httpd-corner.t
avoid relying on IO::Handle/IO::File autoload
[public-inbox.git] / t / httpd-corner.t
index 1f2bb53f7b932afacaedf22fca57ee871335d973..879a023a1dca4fccb336a23eb7c8a0347559b320 100644 (file)
@@ -278,7 +278,7 @@ SKIP: {
        waitpid($pid, 0);
        is($?, 0, 'curl exited successfully');
        is(-s $cerr, 0, 'no errors from curl');
-       $cout->seek(0, SEEK_SET);
+       seek($cout, 0, SEEK_SET);
        is(<$cout>, sha1_hex($str), 'read expected body');
 
        open my $fh, '-|', qw(curl -sS), "$base/async-big" or die $!;