All tests now use test.pl
[p5sagit/p5-mst-13.2.git] / t / op / recurse.t
index 66c33ef..10830e6 100755 (executable)
@@ -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");
+      }
+
   }
 }