This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate:
[perl5.git] / t / op / taint.t
index 686354e..846e1fd 100755 (executable)
@@ -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.
 }