Handle PERLIO= and document a bit.
[p5sagit/p5-mst-13.2.git] / t / op / taint.t
index 4b8039c..846e1fd 100755 (executable)
@@ -904,7 +904,7 @@ else {
 }
 
 
-ok( ${^TAINT},  '$^TAINT is on' );
+ok( ${^TAINT} == 1, '$^TAINT is on' );
 
 eval { ${^TAINT} = 0 };
 ok( ${^TAINT},  '$^TAINT is not assignable' );
@@ -966,8 +966,12 @@ else
 
     eval { system("lskdfj does not exist","with","args"); };
     test 204, $@ eq '';
-    eval { exec("lskdfj does not exist","with","args"); };
-    test 205, $@ eq '';
+    if ($Is_MacOS) {
+       print "ok 205 # no exec()\n";
+    } else {
+       eval { exec("lskdfj does not exist","with","args"); };
+       test 205, $@ eq '';
+    }
 
     # If you add tests here update also the above skip block for VMS.
 }