Hi!
rasmus Sun, 08 Jan 2012 18:43:30 +
Revision: http://svn.php.net/viewvc?view=revisionrevision=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
On 01/08/2012 12:36 PM, Stas Malyshev wrote:
+if (posix_geteuid() == 0) die('SKIP Cannot run test as root.');
Does this work on Windows?
Dunno, but we have 22 tests using that same check and none of them check
for Windows, so I assume it does.
-Rasmus
--
PHP CVS Mailing List
Buggy skipif code simply does not work, and as posix does not exist on
windows
On Sun, Jan 8, 2012 at 9:42 PM, Rasmus Lerdorf ras...@php.net wrote:
On 01/08/2012 12:36 PM, Stas Malyshev wrote:
+if (posix_geteuid() == 0) die('SKIP Cannot run test as root.');
Does this work on Windows?
On 01/08/2012 12:42 PM, Rasmus Lerdorf wrote:
On 01/08/2012 12:36 PM, Stas Malyshev wrote:
+if (posix_geteuid() == 0) die('SKIP Cannot run test as root.');
Does this work on Windows?
Dunno, but we have 22 tests using that same check and none of them check
for Windows, so I assume it does.