$! And do it
$ Show Process/Accounting
$ testdir = "Directory/NoHead/NoTrail/Column=1"
-$ Define 'dbg'Perlshr Sys$Disk:[-]'dbg'PerlShr'exe'
+$ PerlShr_filespec = f$parse("Sys$Disk:[-]''dbg'PerlShr''exe'")
+$ Define 'dbg'Perlshr 'PerlShr_filespec'
$ MCR Sys$Disk:[]Perl. "-I[-.lib]" - "''p3'" "''p4'" "''p5'" "''p6'"
$ Deck/Dollar=$$END-OF-TEST$$
# $RCSfile: TEST,v $$Revision: 4.1 $$Date: 92/08/07 18:27:00 $
# of Unixisms in the tests. (The Perl operators being tested may work fine,
# but the tests may use other operators which don't.)
use Config;
+use File::Spec;
@compexcl=('cpp.t');
@ioexcl=('argv.t','dup.t','fs.t','pipe.t');
# insists on stat()ing a file descriptor before it'll use it.
push(@libexcl,'io_xs.t') if $Config{'vms_cc_type'} ne 'decc';
-@opexcl=('die_exit.t','exec.t','fork.t','glob.t','groups.t','magic.t','misc.t','stat.t');
+@opexcl=('die_exit.t','exec.t','fork.t','glob.t','groups.t','magic.t','stat.t');
@exclist=(@compexcl,@ioexcl,@libexcl,@opexcl);
foreach $file (@exclist) { $skip{$file}++; }
chdir 't' if -f 't/TEST';
if ($ARGV[0] eq '') {
- foreach (<[.*]*.t>) {
- s/.*[\[.]t./[./;
+ foreach (<[-.ext...]*.t>, <[-.lib...]*.t>, <[.*]*.t>) {
+ $_ = File::Spec->abs2rel($_);
+ s/\[([a-z]+)/[.$1/; # hmm, abs2rel doesn't do subdirs of the cwd
($fname = $_) =~ s/.*\]//;
if ($skip{"\L$fname"}) { push(@skipped,$_); }
else { push(@ARGV,$_); }
}
$te = $test;
chop($te);
- $te .= '.' x (24 - length($te));
+ $te .= '.' x (40 - length($te));
open(script,"$test") || die "Can't run $test.\n";
$_ = <script>;
close(script);