X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fhttpd-corner.t;h=cb813897c025d6eca82d2da81ede68fc8ce64903;hb=95bdac7f09c69036efed537a4d03d5bdd2ae4eb6;hp=1f2bb53f7b932afacaedf22fca57ee871335d973;hpb=9689c65f42c0acc9021953b29ce55730c4cd841d;p=public-inbox.git
diff --git a/t/httpd-corner.t b/t/httpd-corner.t
index 1f2bb53f..cb813897 100644
--- a/t/httpd-corner.t
+++ b/t/httpd-corner.t
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2019 all contributors
+# Copyright (C) 2016-2020 all contributors
# License: AGPL-3.0+
# note: our HTTP server should be standalone and capable of running
# generic PSGI/Plack apps.
@@ -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 $!;