rasmus Wed, 25 Nov 2009 03:53:50 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=291287
Log: These tests don't work when run as root Changed paths: U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation2.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation3.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation4.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation5.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation2.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation3.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation4.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation5.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation2.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation3.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation4.phpt U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation5.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation2.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation3.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation4.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation5.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation2.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation3.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation4.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation5.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation2.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation3.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation4.phpt U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation5.phpt U php/php-src/trunk/ext/posix/tests/posix_seteuid_variation2.phpt U php/php-src/trunk/ext/posix/tests/posix_seteuid_variation3.phpt U php/php-src/trunk/ext/posix/tests/posix_seteuid_variation4.phpt U php/php-src/trunk/ext/posix/tests/posix_seteuid_variation5.phpt U php/php-src/trunk/ext/posix/tests/posix_setgid_variation2.phpt U php/php-src/trunk/ext/posix/tests/posix_setgid_variation3.phpt U php/php-src/trunk/ext/posix/tests/posix_setgid_variation4.phpt U php/php-src/trunk/ext/posix/tests/posix_setgid_variation5.phpt U php/php-src/trunk/ext/posix/tests/posix_setuid_variation2.phpt U php/php-src/trunk/ext/posix/tests/posix_setuid_variation3.phpt U php/php-src/trunk/ext/posix/tests/posix_setuid_variation4.phpt U php/php-src/trunk/ext/posix/tests/posix_setuid_variation5.phpt
Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation2.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation2.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation2.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation3.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation3.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation3.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation4.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation4.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation4.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation5.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation5.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_seteuid_variation5.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation2.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation2.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation2.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com @@ -36,4 +37,4 @@ bool(false) bool(false) ===DONE=== - \ No newline at end of file + Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation3.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation3.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation3.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -7,6 +7,7 @@ --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 Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation4.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation4.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation4.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com @@ -38,4 +39,4 @@ bool(false) bool(false) ===DONE=== - \ No newline at end of file + Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation5.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation5.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation5.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com @@ -34,4 +35,4 @@ bool(false) bool(false) ===DONE=== - \ No newline at end of file + Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation2.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation2.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation2.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation3.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation3.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation3.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation4.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation4.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation4.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation5.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation5.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setuid_variation5.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation2.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation2.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation2.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation3.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation3.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation3.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation4.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation4.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation4.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation5.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation5.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_seteuid_variation5.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation2.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation2.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation2.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com @@ -36,4 +37,4 @@ bool(false) bool(false) ===DONE=== - \ No newline at end of file + Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation3.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation3.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation3.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -7,6 +7,7 @@ --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 Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation4.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation4.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation4.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com @@ -38,4 +39,4 @@ bool(false) bool(false) ===DONE=== - \ No newline at end of file + Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation5.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation5.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation5.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com @@ -34,4 +35,4 @@ bool(false) bool(false) ===DONE=== - \ No newline at end of file + Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation2.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation2.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation2.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation3.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation3.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation3.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation4.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation4.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation4.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation5.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation5.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setuid_variation5.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/trunk/ext/posix/tests/posix_seteuid_variation2.phpt =================================================================== --- php/php-src/trunk/ext/posix/tests/posix_seteuid_variation2.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/trunk/ext/posix/tests/posix_seteuid_variation2.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/trunk/ext/posix/tests/posix_seteuid_variation3.phpt =================================================================== --- php/php-src/trunk/ext/posix/tests/posix_seteuid_variation3.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/trunk/ext/posix/tests/posix_seteuid_variation3.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/trunk/ext/posix/tests/posix_seteuid_variation4.phpt =================================================================== --- php/php-src/trunk/ext/posix/tests/posix_seteuid_variation4.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/trunk/ext/posix/tests/posix_seteuid_variation4.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/trunk/ext/posix/tests/posix_seteuid_variation5.phpt =================================================================== --- php/php-src/trunk/ext/posix/tests/posix_seteuid_variation5.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/trunk/ext/posix/tests/posix_seteuid_variation5.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/trunk/ext/posix/tests/posix_setgid_variation2.phpt =================================================================== --- php/php-src/trunk/ext/posix/tests/posix_setgid_variation2.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/trunk/ext/posix/tests/posix_setgid_variation2.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com @@ -36,4 +37,4 @@ bool(false) bool(false) ===DONE=== - \ No newline at end of file + Modified: php/php-src/trunk/ext/posix/tests/posix_setgid_variation3.phpt =================================================================== --- php/php-src/trunk/ext/posix/tests/posix_setgid_variation3.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/trunk/ext/posix/tests/posix_setgid_variation3.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -7,6 +7,7 @@ --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 Modified: php/php-src/trunk/ext/posix/tests/posix_setgid_variation4.phpt =================================================================== --- php/php-src/trunk/ext/posix/tests/posix_setgid_variation4.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/trunk/ext/posix/tests/posix_setgid_variation4.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com @@ -38,4 +39,4 @@ bool(false) bool(false) ===DONE=== - \ No newline at end of file + Modified: php/php-src/trunk/ext/posix/tests/posix_setgid_variation5.phpt =================================================================== --- php/php-src/trunk/ext/posix/tests/posix_setgid_variation5.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/trunk/ext/posix/tests/posix_setgid_variation5.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com @@ -34,4 +35,4 @@ bool(false) bool(false) ===DONE=== - \ No newline at end of file + Modified: php/php-src/trunk/ext/posix/tests/posix_setuid_variation2.phpt =================================================================== --- php/php-src/trunk/ext/posix/tests/posix_setuid_variation2.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/trunk/ext/posix/tests/posix_setuid_variation2.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/trunk/ext/posix/tests/posix_setuid_variation3.phpt =================================================================== --- php/php-src/trunk/ext/posix/tests/posix_setuid_variation3.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/trunk/ext/posix/tests/posix_setuid_variation3.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/trunk/ext/posix/tests/posix_setuid_variation4.phpt =================================================================== --- php/php-src/trunk/ext/posix/tests/posix_setuid_variation4.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/trunk/ext/posix/tests/posix_setuid_variation4.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com Modified: php/php-src/trunk/ext/posix/tests/posix_setuid_variation5.phpt =================================================================== --- php/php-src/trunk/ext/posix/tests/posix_setuid_variation5.phpt 2009-11-25 02:42:03 UTC (rev 291286) +++ php/php-src/trunk/ext/posix/tests/posix_setuid_variation5.phpt 2009-11-25 03:53:50 UTC (rev 291287) @@ -3,6 +3,7 @@ --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 mrfab...@gmail.com
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php