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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user