aboutsummaryrefslogtreecommitdiff
path: root/contrib/perl5/t/base/rs.t
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/t/base/rs.t')
-rwxr-xr-xcontrib/perl5/t/base/rs.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/perl5/t/base/rs.t b/contrib/perl5/t/base/rs.t
index 021d699e2e87..e470f3a30c11 100755
--- a/contrib/perl5/t/base/rs.t
+++ b/contrib/perl5/t/base/rs.t
@@ -6,6 +6,8 @@ print "1..14\n";
$teststring = "1\n12\n123\n1234\n1234\n12345\n\n123456\n1234567\n";
# Create our test datafile
+1 while unlink 'foo'; # in case junk left around
+rmdir 'foo';
open TESTFILE, ">./foo" or die "error $! $^E opening";
binmode TESTFILE;
print TESTFILE $teststring;