Hi!
rasmus Sun, 08 Jan 2012 18:43:30 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=321937
Log:
These tests don't work if run as root
Changed paths:
U
php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt
U
php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt
U
php/php-src/branches/PHP_5_4/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt
U
php/php-src/branches/PHP_5_4/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt
U php/php-src/trunk/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt
U php/php-src/trunk/ext/spl/tests/DirectoryIterator_getOwner_basic.phpt
Modified:
php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt
===================================================================
---
php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt
2012-01-08 18:41:53 UTC (rev 321936)
+++
php/php-src/branches/PHP_5_3/ext/spl/tests/DirectoryIterator_getGroup_basic.phpt
2012-01-08 18:43:30 UTC (rev 321937)
@@ -1,15 +1,18 @@
---TEST--
-SPL: DirectoryIterator test getGroup
---CREDITS--
+--TEST--
+SPL: DirectoryIterator test getGroup
+--SKIPIF--
+<?php
+if (posix_geteuid() == 0) die('SKIP Cannot run test as root.');
Does this work on Windows?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php