]> git.deb.at Git - pkg/blosxom.git/blobdiff - t/Setup
Refactoring usage of $url_escape_re into a function named url_escape_url_path_and_fn.
[pkg/blosxom.git] / t / Setup
diff --git a/t/Setup b/t/Setup
index 8334ff95e4592de3e3ecc2d4cca5fa97ccbf7c05..93f0733b3a25be3d88578f8ee135afb591d00a61 100755 (executable)
--- a/t/Setup
+++ b/t/Setup
@@ -7,7 +7,7 @@ use strict;
 use IO::File;
 
 my $DRIVER = 'driver';
-my $TESTS = 'driver_tests';
+my $TESTS = 'Tests';
 die "cannot find driver file '$DRIVER'" unless -f $DRIVER;
 die "cannot find tests file '$TESTS'" unless -f $TESTS;
 
@@ -20,6 +20,7 @@ close $th;
 
 for my $t (@tests) {
   chomp $t;
+  unlink $t if -l $t;
   print "symlink $DRIVER $t\n"; 
   eval { symlink $DRIVER, $t } or die "symlink $DRIVER, $t failed: $!";
 }