p4raw-id: //depot/perl@16640
}
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