From 9c54ecba7457fac2086e82080f77bd0f3d789ac3 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Fri, 17 May 2002 01:07:09 +0000 Subject: Third Degree tweaks. p4raw-id: //depot/perl@16639 --- t/TEST | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 't/TEST') diff --git a/t/TEST b/t/TEST index 3d8aa719e6..87a7caeed9 100755 --- a/t/TEST +++ b/t/TEST @@ -321,11 +321,10 @@ EOT } if ($ENV{PERL_3LOG}) { my $tpp = $test; - $tpp =~ s:^../::; - if ($tpp =~ m:/:) { $tpp =~ s:/:_:g } else { $tpp = "op_$tpp" } + $tpp =~ s:/:_:g; $tpp =~ s:\.t$::; - rename("perl.3log", "perl.3log.$tpp") || - die "rename: perl3.log to perl.3log.$tpp: $!\n"; + rename("perl.3log", "$tpp.3log") || + die "rename: perl3.log to $tpp.3log: $!\n"; } $next = $next - 1; # test if the compiler compiled something -- cgit v1.2.1