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

Re: new exit tests on VMS

Thread Previous | Thread Next
Craig A. Berry
July 26, 2001 08:35
Re: new exit tests on VMS
Message ID:
At 4:12 PM -0700 7/25/01, Peter Prymmer wrote:
>On Wed, 25 Jul 2001, Craig A. Berry wrote:
>> The following recently added tests:
>> lib/Test/Simple/t/exit.t
>> lib/Test/Simple/t/simple.t
> > are currently failing on VMS. 

>Might there be a way to stick an appropriate C<use vmsish qw(exit);> or
>somesuch into there so as to make the tests pass?

C<use vmsish 'status'> would preserve the complete 32-bit status on
return from system(), but it would not be shifted left by 8 bits as
the tests expect.  We could then omit right shifting back by 8 before
comparing what we got with what we expected, but by that point we are
not really testing the same functionality at all.
Craig A. Berry

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About