mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-07 17:27:30 +00:00
These tests don't work when run as root
This commit is contained in:
1 parent
0085a466b6
commit
f2a3441259
12 files changed
+15
-3
No files matched your search
@@ -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