Craig A. Berry [Sun, 23 Jan 2005 14:23:17 +0000 (08:23 -0600)]
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <
41F407B5.7020106@mac.com>
p4raw-id: //depot/perl@23874
$tb->output($tmpfile);
$tb->failure_output($tmpfile);
$tb->todo_output($tmpfile);
-END { unlink $tmpfile }
+END { 1 while unlink $tmpfile }
# This won't print since we just sent output off to oblivion.
$tb->ok(0, "And a failure for fun");
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"; }
my $written = "tell_write.txt";
-END { unlink($written) }
+END { 1 while unlink($written) }
close($tst);
open($tst,">$written") || die "Cannot open $written:$!";