mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
This will only get a permission defined error if not running as root.
This commit is contained in:
parent
8af473e496
commit
daf47a8519
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue