This will only get a permission defined error if not running as root.

This commit is contained in:
Rasmus Lerdorf 2009-11-23 21:13:26 +00:00
parent 8af473e496
commit daf47a8519

View file

@ -7,6 +7,7 @@ Francesco Fullone ff@ideato.it
--SKIPIF-- --SKIPIF--
<?php <?php
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded"; if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
if(posix_getuid()==0) print "skip - Cannot run test as root.";
?> ?>
--FILE-- --FILE--
<?php <?php