More Third Degree.
Jarkko Hietaniemi [Fri, 17 May 2002 01:36:12 +0000 (01:36 +0000)]
p4raw-id: //depot/perl@16640

t/TEST

diff --git a/t/TEST b/t/TEST
index 87a7cae..1329205 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -321,10 +321,11 @@ EOT
        }
        if ($ENV{PERL_3LOG}) {
            my $tpp = $test;
+           $tpp =~ s:^\.\./::;
            $tpp =~ s:/:_:g;
-           $tpp =~ s:\.t$::;
-           rename("perl.3log", "$tpp.3log") ||
-               die "rename: perl3.log to $tpp.3log: $!\n";
+           $tpp =~ s:\.t$:.3log:;
+           rename("perl.3log", $tpp) ||
+               die "rename: perl3.log to $tpp: $!\n";
        }
        $next = $next - 1;
         # test if the compiler compiled something