Third Degree: name the op/foo.t as op_foo.
Jarkko Hietaniemi [Wed, 15 May 2002 00:34:46 +0000 (00:34 +0000)]
p4raw-id: //depot/perl@16602

t/TEST

diff --git a/t/TEST b/t/TEST
index 9ac287a..3d8aa71 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -322,7 +322,7 @@ EOT
        if ($ENV{PERL_3LOG}) {
            my $tpp = $test;
            $tpp =~ s:^../::;
-           $tpp =~ s:/:_:g;
+           if ($tpp =~ m:/:) { $tpp =~ s:/:_:g } else { $tpp = "op_$tpp" }
            $tpp =~ s:\.t$::;
            rename("perl.3log", "perl.3log.$tpp") ||
                die "rename: perl3.log to perl.3log.$tpp: $!\n";