From 822e6f87f8ae528661f480d9358c11b81f8d5487 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Thu, 3 Nov 2016 11:20:50 +0000 Subject: [PATCH] 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] --- 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__; -- 1.8.3.1