mirror of
https://github.com/php/php-src.git
synced 2026-03-25 16:52:18 +01:00
These tests don't work when run as root
This commit is contained in:
@@ -3,6 +3,7 @@ Test function posix_seteuid() by substituting argument 1 with boolean values.
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
|
||||
?>
|
||||
--CREDITS--
|
||||
Marco Fabbri mrfabbri@gmail.com
|
||||
|
||||
@@ -3,6 +3,7 @@ Test function posix_seteuid() by substituting argument 1 with emptyUnsetUndefNul
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
|
||||
?>
|
||||
--CREDITS--
|
||||
Marco Fabbri mrfabbri@gmail.com
|
||||
|
||||
@@ -3,6 +3,7 @@ Test function posix_seteuid() by substituting argument 1 with float values.
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
|
||||
?>
|
||||
--CREDITS--
|
||||
Marco Fabbri mrfabbri@gmail.com
|
||||
|
||||
@@ -3,6 +3,7 @@ Test function posix_seteuid() by substituting argument 1 with int values.
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
|
||||
?>
|
||||
--CREDITS--
|
||||
Marco Fabbri mrfabbri@gmail.com
|
||||
|
||||
@@ -3,6 +3,7 @@ Test function posix_setgid() by substituting argument 1 with boolean values.
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
|
||||
?>
|
||||
--CREDITS--
|
||||
Marco Fabbri mrfabbri@gmail.com
|
||||
@@ -36,4 +37,4 @@ bool(false)
|
||||
bool(false)
|
||||
bool(false)
|
||||
===DONE===
|
||||
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ Francesco Fullone ff@ideato.it
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
@@ -3,6 +3,7 @@ Test function posix_setgid() by substituting argument 1 with float values.
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
|
||||
?>
|
||||
--CREDITS--
|
||||
Marco Fabbri mrfabbri@gmail.com
|
||||
@@ -38,4 +39,4 @@ bool(false)
|
||||
bool(false)
|
||||
bool(false)
|
||||
===DONE===
|
||||
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ Test function posix_setgid() by substituting argument 1 with int values.
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
|
||||
?>
|
||||
--CREDITS--
|
||||
Marco Fabbri mrfabbri@gmail.com
|
||||
@@ -34,4 +35,4 @@ bool(false)
|
||||
bool(false)
|
||||
bool(false)
|
||||
===DONE===
|
||||
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ Test function posix_setuid() by substituting argument 1 with boolean values.
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
|
||||
?>
|
||||
--CREDITS--
|
||||
Marco Fabbri mrfabbri@gmail.com
|
||||
|
||||
@@ -3,6 +3,7 @@ Test function posix_setuid() by substituting argument 1 with emptyUnsetUndefNull
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
|
||||
?>
|
||||
--CREDITS--
|
||||
Marco Fabbri mrfabbri@gmail.com
|
||||
|
||||
@@ -3,6 +3,7 @@ Test function posix_setuid() by substituting argument 1 with float values.
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
|
||||
?>
|
||||
--CREDITS--
|
||||
Marco Fabbri mrfabbri@gmail.com
|
||||
|
||||
@@ -3,6 +3,7 @@ Test function posix_setuid() by substituting argument 1 with int values.
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
|
||||
?>
|
||||
--CREDITS--
|
||||
Marco Fabbri mrfabbri@gmail.com
|
||||
|
||||
Reference in New Issue
Block a user