rasmus Wed, 25 Nov 2009 04:00:55 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291288
Log:
Another test that doesn't work as root
Changed paths:
U
php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/proc_nice_variation5.phpt
U
php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/proc_nice_variation5.phpt
U
php/php-src/trunk/ext/standard/tests/general_functions/proc_nice_variation5.phpt
Modified:
php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/proc_nice_variation5.phpt
===================================================================
---
php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/proc_nice_variation5.phpt
2009-11-25 03:53:50 UTC (rev 291287)
+++
php/php-src/branches/PHP_5_2/ext/standard/tests/general_functions/proc_nice_variation5.phpt
2009-11-25 04:00:55 UTC (rev 291288)
@@ -5,6 +5,10 @@
Fabio Fabbrucci ([email protected])
Michele Orselli ([email protected])
Simone Gentili ([email protected])
+--SKIPIF--
+<?php
+ if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
+?>
--FILE--
<?php
Modified:
php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/proc_nice_variation5.phpt
===================================================================
---
php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/proc_nice_variation5.phpt
2009-11-25 03:53:50 UTC (rev 291287)
+++
php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/proc_nice_variation5.phpt
2009-11-25 04:00:55 UTC (rev 291288)
@@ -5,6 +5,10 @@
Fabio Fabbrucci ([email protected])
Michele Orselli ([email protected])
Simone Gentili ([email protected])
+--SKIPIF--
+<?php
+ if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
+?>
--FILE--
<?php
Modified:
php/php-src/trunk/ext/standard/tests/general_functions/proc_nice_variation5.phpt
===================================================================
---
php/php-src/trunk/ext/standard/tests/general_functions/proc_nice_variation5.phpt
2009-11-25 03:53:50 UTC (rev 291287)
+++
php/php-src/trunk/ext/standard/tests/general_functions/proc_nice_variation5.phpt
2009-11-25 04:00:55 UTC (rev 291288)
@@ -5,6 +5,10 @@
Fabio Fabbrucci ([email protected])
Michele Orselli ([email protected])
Simone Gentili ([email protected])
+--SKIPIF--
+<?php
+ if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
+?>
--FILE--
<?php
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php