develooper Front page | perl.perl5.porters | Postings from August 2013

Re: runperl() exit oddity

Thread Previous | Thread Next
Nicholas Clark
August 23, 2013 07:58
Re: runperl() exit oddity
Message ID:
On Wed, Aug 07, 2013 at 01:04:47PM -0500, Craig A. Berry wrote:
> On Wed, Aug 7, 2013 at 12:18 PM, Nicholas Clark <> wrote:
> > 2) Why does runperl() in t/ abort on VMS if exit status is wrong?
> >    (or is it aborting?)
> When you run vms/, it's running t/TEST by default. Isn't
> bailing out early the normal behavior for TEST (as opposed to
> harness)?  The abort messages are just the usual result of
> transmogrifying a generic unixy failure exit to a generic VMS failure
> exit:
> $ perl -e "exit 1;"
> %SYSTEM-F-ABORT, abort

Yes, it is. I've got spoiled by t/harness, which doesn't, and failed to
realise that t/TEST behaves differently.

Nicholas Clark

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