develooper Front page | perl.perl5.porters | Postings from March 2015

Re: [perl #123836] dump label

Thread Previous
From:
Dave Mitchell
Date:
March 18, 2015 14:16
Subject:
Re: [perl #123836] dump label
Message ID:
20150318141558.GB28599@iabyn.com
On Fri, Feb 20, 2015 at 09:07:24AM -0800, Jarkko Hietaniemi via RT wrote:
> At least in Linux (dromedary) the test looks quite noisy:
> 
> t/op/dump ...................................................... sh: line 1: 12332 Aborted                 /home/jhi/perl/perl "-I../lib" "tmp12330A" 2>&1
> sh: line 1: 12334 Aborted                 /home/jhi/perl/perl "-I../lib" "tmp12330A" 2>&1
> ok
> 
> The test passes.  If run explicitly:
> 
> ./perl -Ilib t/op/dump.t
> 1..2
> sh: line 1: 27144 Aborted                 /home/jhi/perl/perl "-I../lib" "tmp27142A" 2>&1
> ok 1 - plain dump quits
> sh: line 1: 27146 Aborted                 /home/jhi/perl/perl "-I../lib" "tmp27142A" 2>&1
> ok 2 - dump with label quits

Fixed (hopefully) with this:

commit 49c4aee9770d41c2fd7866800ef51cfa28e02b58
Author:     David Mitchell <davem@iabyn.com>
AuthorDate: Wed Mar 18 14:10:33 2015 +0000
Commit:     David Mitchell <davem@iabyn.com>
CommitDate: Wed Mar 18 14:13:45 2015 +0000

    t/op/dump.t: silence 'Aborted' messages on stderr
    
    On some platforms, t/op/dump.t produces extraneous (and scary)
    
        sh: line 1: 17605 Aborted (core dumped)
    
    style messages on stderr.
    
    Do a fork in each test to avoid this.

M       t/op/dump.t


-- 
This is a great day for France!
    -- Nixon at Charles De Gaulle's funeral

Thread Previous


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