projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f23a5a
)
Replaced '1 while unlink' with 'unlink_all' in t/run/switches.t
author
Brad Gilbert
<b2gills@gmail.com>
Tue, 7 Dec 2010 23:14:30 +0000
(17:14 -0600)
committer
Father Chrysostomos
<sprout@cpan.org>
Wed, 8 Dec 2010 19:17:28 +0000
(11:17 -0800)
t/run/switches.t
patch
|
blob
|
history
diff --git
a/t/run/switches.t
b/t/run/switches.t
index
ada6eaf
..
f636cea
100644
(file)
--- a/
t/run/switches.t
+++ b/
t/run/switches.t
@@
-22,7
+22,7
@@
$TODO = "runperl() unable to emulate echo -n due to pipe bug" if $^O eq 'VMS';
my $r;
my @tmpfiles = ();
-END { unlink @tmpfiles }
+END { unlink
_all
@tmpfiles }
# Tests for -0
@@
-304,7
+304,7
@@
foreach my $switch (split //, "ABbGgHJjKkLNOoPQqRrYyZz123456789_")
{
local $TODO = ''; # these ones should work on VMS
- sub do_i_unlink {
1 while unlink
("file", "file.bak") }
+ sub do_i_unlink {
unlink_all
("file", "file.bak") }
open(FILE, ">file") or die "$0: Failed to create 'file': $!";
print FILE <<__EOF__;