summaryrefslogtreecommitdiff
path: root/t/TEST
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-05-17 01:36:12 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-05-17 01:36:12 +0000
commit3716a21da811a91a4487bb9cee36524784007826 (patch)
treec8221f02fdc613bd7716ecb7a5b346564cff4b8a /t/TEST
parent9c54ecba7457fac2086e82080f77bd0f3d789ac3 (diff)
downloadperl-3716a21da811a91a4487bb9cee36524784007826.tar.gz
More Third Degree.
p4raw-id: //depot/perl@16640
Diffstat (limited to 't/TEST')
-rwxr-xr-xt/TEST7
1 files changed, 4 insertions, 3 deletions
diff --git a/t/TEST b/t/TEST
index 87a7caeed9..1329205b0c 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