summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/io/fs.t2
-rwxr-xr-xt/io/tell.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/io/fs.t b/t/io/fs.t
index eb305a93e8..30423f1d28 100755
--- a/t/io/fs.t
+++ b/t/io/fs.t
@@ -373,4 +373,4 @@ if ($^O eq 'VMS') {
ok(-d 'tmp1', "rename on directories working");
# need to remove 'tmp' if rename() in test 28 failed!
-END { rmdir 'tmp1'; rmdir 'tmp'; unlink "Iofs.tmp"; }
+END { rmdir 'tmp1'; rmdir 'tmp'; 1 while unlink "Iofs.tmp"; }
diff --git a/t/io/tell.t b/t/io/tell.t
index 1e1f661cd1..dcb4ee9a29 100755
--- a/t/io/tell.t
+++ b/t/io/tell.t
@@ -100,7 +100,7 @@ if (tell(ether) == -1) { print "ok 23\n"; } else { print "not ok 23\n"; }
my $written = "tell_write.txt";
-END { unlink($written) }
+END { 1 while unlink($written) }
close($tst);
open($tst,">$written") || die "Cannot open $written:$!";