In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/822e6f87f8ae528661f480d9358c11b81f8d5487?hp=7bfdd8260c4e963865603619e956b96e0ad73646>
- Log ----------------------------------------------------------------- commit 822e6f87f8ae528661f480d9358c11b81f8d5487 Author: David Mitchell <[email protected]> Date: Thu Nov 3 11:20:50 2016 +0000 skip SEGVing test in t/uni/overload.t This TODO test is expected to SEGV, and is run using fresh_perl(). But that doesn't stop the shell issuing this scary noise to STDERR: sh: line 1: 5106 Segmentation fault (core dumped) /home/davem/perl5/gi t/bleed/perl "-I../lib" "tmp5097A" 2>&1 So until this is fixed, just skip the test. See [perl #129933] ----------------------------------------------------------------------- Summary of changes: t/uni/overload.t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/t/uni/overload.t b/t/uni/overload.t index 301300b..08c1c2e 100644 --- a/t/uni/overload.t +++ b/t/uni/overload.t @@ -290,7 +290,10 @@ foreach my $value ("\243", UTF8Toggle->new("\243")) { TODO: { local $::TODO = 'RT #3054: Recursive operator overloading overflows the C stack'; - todo_skip($::TODO) if $^O eq 'freebsd'; + # XXX this test is expected to SEGV, and can produce + # sh: line 1: 5106 Segmentation fault + # on SDTERR. So just compeltelyt disable for now + todo_skip($::TODO); fresh_perl_is(<<'EOP', "ok\n", {}, 'RT #3054: Recursive operator overloading should not crash the interpreter'); use overload '""' => sub { "$_[0]" }; print bless {}, __PACKAGE__; -- Perl5 Master Repository
