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

[perl #124183] dont report a $@ exception with uninitialized $!'s message in IPC::Open3

Thread Next
From:
Tony Cook via RT
Date:
July 1, 2015 01:12
Subject:
[perl #124183] dont report a $@ exception with uninitialized $!'s message in IPC::Open3
Message ID:
rt-4.0.18-10773-1435713171-402.124183-15-0@perl.org
On Wed Jun 24 03:31:53 2015, bulk88 wrote:
> On Tue Jun 16 09:15:25 2015, bulk88 wrote:
> > On Thu May 28 17:50:06 2015, bulk88 wrote:
> > > On Mon May 18 22:32:13 2015, bulk88 wrote:
> > > > Bump. I know this wont be in 5.22.
> > > 
> > > Bump.
> > 
> > Bump.
> 
> Bump. Rebased attached.
> 

The new test fails for me on Linux:

tony@mars:.../perl/t$ ./perl harness ../ext/IPC-Open3/t/IPC-Open3.t 
../ext/IPC-Open3/t/IPC-Open3.t .. 1/45 
#   Failed test 'dieing inside Tied arg propagates correctly'
#   at t/IPC-Open3.t line 204.
#                   'FETCH not allowed in (eval) in IPC::Open3::_open3
# '
#     doesn't match '(?^:^open3: IO::Pipe: Can't spawn-NOWAIT: FETCH not allowed in \(eval\) in IPC::Open3::spawn_with_handles)'
Use of uninitialized value $pid in waitpid at t/IPC-Open3.t line 204, <READ> line 5.
# Looks like you planned 45 tests but ran 27.
# Looks like you failed 1 test of 27 run.
# Looks like your test exited with 29 just after 27.
../ext/IPC-Open3/t/IPC-Open3.t .. Dubious, test returned 29 (wstat 7424, 0x1d00)
Failed 19/45 subtests 


Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=124183

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