summaryrefslogtreecommitdiff
path: root/t/op/lfs.t
diff options
context:
space:
mode:
authordavid@dhaller.de <david@dhaller.de>2002-10-23 18:42:51 +0000
committerhv <hv@crypt.org>2002-11-07 13:40:25 +0000
commitb0d0c53930669dca23928a6d1a7ae6e9f2bd61d8 (patch)
tree3f7ab6f13549b16d2d872ec3e98519934e76d88e /t/op/lfs.t
parentb5ccf5f2cdb7415d32c161b40f11284c4f37fb57 (diff)
downloadperl-b0d0c53930669dca23928a6d1a7ae6e9f2bd61d8.tar.gz
[perl #18065] LFS related bug in perl-5.8.0 testsuite
From: "david@dhaller.de (via RT)" <perlbug@perl.org> Message-Id: <rt-18065-40384.14.044473925414@bugs6.perl.org> p4raw-id: //depot/perl@18122
Diffstat (limited to 't/op/lfs.t')
-rw-r--r--t/op/lfs.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/op/lfs.t b/t/op/lfs.t
index 8be24f4d82..e62cdbf900 100644
--- a/t/op/lfs.t
+++ b/t/op/lfs.t
@@ -268,7 +268,11 @@ explain() if $fail;
bye(); # does the necessary cleanup
END {
- unlink "big"; # be paranoid about leaving 5 gig files lying around
+ # unlink may fail if applied directly to a large file
+ open(BIG, ">big");
+ print BIG "x";
+ close(BIG);
+ unlink "big"; # be paranoid about leaving 5 gig files lying around
}
# eof