Win32 has name conflict with ERROR
[p5sagit/p5-mst-13.2.git] / vms / test.com
index 266ba16..6fae18d 100644 (file)
@@ -98,9 +98,7 @@ $
 $!  And do it
 $   Show Process/Accounting
 $   testdir = "Directory/NoHead/NoTrail/Column=1"
-$   oldshr = F$TrnLNm("''dbg'PerlShr")
 $   PerlShr_filespec = f$parse("Sys$Disk:[-]''dbg'PerlShr''exe'")
-$   If F$Length(oldshr).ne.0 Then Write Sys$Error "Superseding ''dbg'PerlShr . . ."
 $   Define 'dbg'Perlshr 'PerlShr_filespec'
 $   MCR Sys$Disk:[]Perl. "-I[-.lib]" - "''p3'" "''p4'" "''p5'" "''p6'"
 $   Deck/Dollar=$$END-OF-TEST$$
@@ -248,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
-
-