summaryrefslogtreecommitdiff
path: root/t/uni
diff options
context:
space:
mode:
authorDan Collins <dcollinsn@gmail.com>2016-10-21 14:13:33 +0000
committerKarl Williamson <khw@cpan.org>2016-10-21 15:45:19 -0600
commite7619ccdfa0f8562897ad922b44837e5f65194e9 (patch)
treec4f2b2cc31f778b9dd43a063ff44fdee2b85bf84 /t/uni
parent162256f303e3b2f3936976e692650c18c9cad0a6 (diff)
downloadperl-e7619ccdfa0f8562897ad922b44837e5f65194e9.tar.gz
t/uni/overload.t: Skip hanging test on FreeBSD
This is a test that overflows the C stack though infinite recursion. Unfortunately, FreeBSD doesn't seem to overflow the stack as much as it overflows main memory. On my FreeBSD 12 VM, it uses all available swap and hangs. This patch skips it only for FreeBSD.
Diffstat (limited to 't/uni')
-rw-r--r--t/uni/overload.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/uni/overload.t b/t/uni/overload.t
index c534ecfdf3..301300b75a 100644
--- a/t/uni/overload.t
+++ b/t/uni/overload.t
@@ -290,6 +290,7 @@ 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';
fresh_perl_is(<<'EOP', "ok\n", {}, 'RT #3054: Recursive operator overloading should not crash the interpreter');
use overload '""' => sub { "$_[0]" };
print bless {}, __PACKAGE__;