Make C<undef ~~ 0> and C<undef ~~ ""> not match (like in 5.10.0)
[p5sagit/p5-mst-13.2.git] / t / op / recurse.t
old mode 100755 (executable)
new mode 100644 (file)
index 66c33ef..10830e6
@@ -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");
+      }
+
   }
 }