1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00

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--
<?php
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
if(posix_getuid()==0) print "skip - Cannot run test as root.";
?>
--FILE--
<?php