From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Fri, 17 May 2002 01:36:12 +0000 (+0000)
Subject: More Third Degree.
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3716a21da811a91a4487bb9cee36524784007826;p=p5sagit%2Fp5-mst-13.2.git

More Third Degree.

p4raw-id: //depot/perl@16640
---

diff --git a/t/TEST b/t/TEST
index 87a7cae..1329205 100755
--- 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