Replaced 'unlink' with 'unlink_all' in t/op/sysio.t
authorBrad Gilbert <b2gills@gmail.com>
Tue, 7 Dec 2010 23:13:57 +0000 (17:13 -0600)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 8 Dec 2010 19:17:18 +0000 (11:17 -0800)
t/op/sysio.t

index d0f71ae..ba739f2 100644 (file)
@@ -209,7 +209,7 @@ ok(not defined sysseek(I, -1, 1));
 
 close(I);
 
-unlink $outfile;
+unlink_all $outfile;
 
 # Check that utf8 IO doesn't upgrade the scalar
 open(I, ">$outfile") || die "sysio.t: cannot write $outfile: $!";
@@ -232,7 +232,7 @@ eval {syswrite I, 2;};
 is($@, '');
 
 close(I);
-unlink $outfile;
+unlink_all $outfile;
 
 chdir('..');