summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/op/stat.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/op/stat.t b/t/op/stat.t
index 027902df64..2c28e1e267 100644
--- a/t/op/stat.t
+++ b/t/op/stat.t
@@ -477,6 +477,7 @@ like $@, qr/^The stat preceding lstat\(\) wasn't an lstat at /,
stat "test.pl";
my @lstatbuf = lstat *FOO{IO};
is "@lstatbuf", "@statbuf", 'lstat $ioref reverts to regular fstat';
+ close(FOO);
unlink $tmpfile or print "# unlink failed: $!\n";
}