develooper Front page | perl.perl5.porters | Postings from April 2001

[PATCH: perl@9917] more VMS tweaks for addn'l selfstubber tests

Thread Next
From:
Peter Prymmer
Date:
April 30, 2001 16:26
Subject:
[PATCH: perl@9917] more VMS tweaks for addn'l selfstubber tests
Message ID:
Pine.OSF.4.10.10104301621200.161547-100000@aspara.forte.com

The enclosed patch allows this environment to run lib/selfstubber.t 
100% ok:

 Compaq C V6.2-008 on OpenVMS Alpha V7.1

It was also tested on the following platform:

  OSF1 V4.0 878 ccversion='V5.6-082'

where it caused no harm to the 100% pass rate for the 12 tests.

Here it is:

--- perl/t/lib/selfstubber.t.orig	Mon Apr 30 04:48:33 2001
+++ perl/t/lib/selfstubber.t	Mon Apr 30 15:19:31 2001
@@ -203,11 +203,11 @@
 }
 
 # Check that the DATA handle stays open
-system "$runperl -w \"-I$lib\" -MData -e Data::ok";
+system "$runperl -w \"-I$lib\" \"-MData\" -e \"Data::ok\"";
 
 # Possibly a pointless test as this doesn't really verify that it's been
 # stubbed.
-system "$runperl -w \"-I$lib\" -MEnd -e End::lime";
+system "$runperl -w \"-I$lib\" \"-MEnd\" -e \"End::lime\"";
 
 # But check that the documentation after the __END__ survived.
 open FH, "$lib/End.pm" or die $!;
End of Patch.

Peter Prymmer


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About