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

Re: new exit tests on VMS

Thread Previous | Thread Next
From:
Craig A. Berry
Date:
July 26, 2001 08:35
Subject:
Re: new exit tests on VMS
Message ID:
a05101002b785e5ca4a3b@[172.16.52.1]
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
mailto:craigberry@mac.com

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

Thread Previous | 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