X-Git-Url: https://git.deb.at/?p=pkg%2Fblosxom.git;a=blobdiff_plain;f=t%2FSetup;h=93f0733b3a25be3d88578f8ee135afb591d00a61;hp=8334ff95e4592de3e3ecc2d4cca5fa97ccbf7c05;hb=HEAD;hpb=821c5f870b74ef33ba258722c6867d345aa84e83 diff --git a/t/Setup b/t/Setup index 8334ff9..93f0733 100755 --- 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: $!"; }