Re: Regex debugger patch
[p5sagit/p5-mst-13.2.git] / vms / test.com
index a0569a6..6fae18d 100644 (file)
@@ -98,9 +98,8 @@ $
 $!  And do it
 $   Show Process/Accounting
 $   testdir = "Directory/NoHead/NoTrail/Column=1"
-$   oldshr = F$TrnLNm("''dbg'PerlShr","LNM$PROCESS")
-$   If F$Length(oldshr).ne.0 Then Write Sys$Error "Superseding ''dbg'PerlShr . . ."
-$   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 $
@@ -128,7 +127,7 @@ use Config;
 # 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}++; }
 
@@ -247,16 +246,8 @@ print sprintf("u=%g  s=%g  cu=%g  cs=%g  scripts=%d  tests=%d\n",
     $user,$sys,$cuser,$csys,$files,$totmax);
 $$END-OF-TEST$$
 $ wrapup:
-$   If F$Length(oldshr).ne.0
-$   Then
-$     Write Sys$Error "restoring ''dbg'PerlShr . . ."
-$     Def/Translation=Concealed  'dbg'PerlShr 'oldshr'
-$   Else
-$     Deassign 'dbg'PerlShr
-$   EndIf
+$   deassign 'dbg'Perlshr
 $   Show Process/Accounting
 $   Set Default &olddef
 $   Set Message 'oldmsg'
 $   Exit
-
-