X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fop%2Frecurse.t;h=10830e622137e42c025c3d7d0213b7ab54b1af04;hb=1c509eb921569425706e6fe39ea7cb2f11e99d1b;hp=66c33ef3b2b655de65ebd47289912397d7d0c80b;hpb=d39768499da99326f8ba53c159f9e35346473a2d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/op/recurse.t b/t/op/recurse.t index 66c33ef..10830e6 100755 --- a/t/op/recurse.t +++ b/t/op/recurse.t @@ -125,7 +125,13 @@ is(takeuchi($x, $y, $z), $z + 1, "takeuchi($x, $y, $z) == $z + 1"); skip("Out of memory -- increase your data/heap?", 2) if $r =~ /Out of memory/i; is($r, '', "64K deep recursion - no output expected"); - is($?, 0, "64K deep recursion - no coredump expected"); + + if ($^O eq 'MacOS') { + ok(1, "$^O: \$? is unreliable"); + } else { + is($?, 0, "64K deep recursion - no coredump expected"); + } + } }