Remove code specific to MacOS Classic from core tests
[p5sagit/p5-mst-13.2.git] / t / run / exit.t
index b58dd45..02e57c6 100644 (file)
@@ -16,8 +16,7 @@ sub run {
 }
 
 BEGIN {
-    # MacOS system() doesn't have good return value
-    $numtests = ($^O eq 'VMS') ? 16 : ($^O eq 'MacOS') ? 0 : 17;
+    $numtests = ($^O eq 'VMS') ? 16 : 17;
 }
 
 
@@ -46,7 +45,6 @@ plan(tests => $numtests);
 my $native_success = 0;
    $native_success = 1 if $^O eq 'VMS';
 
-if ($^O ne 'MacOS') {
 my $exit, $exit_arg;
 
 $exit = run('exit');
@@ -168,4 +166,3 @@ $exit = run("END { \$? = $exit_arg }");
 $exit_arg = (44 & 7) if $vms_exit_mode;
 
 is( $exit >> 8, $exit_arg,             'Changing $? in END block' );
-}