Re: [PHP-CVS] =?utf-8?q?svn:_/php/php-src/_branches/PHP=5F5=5F3/ext/spl/tests/DirectoryIterator=5FgetGroup=5Fbasic.phpt_branches/PHP=5F5=5F3/ext/spl/tests/DirectoryIterator=5FgetOwner=5Fbasic.phpt_bra

2012-01-08 Thread Stas Malyshev
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

Re: [PHP-CVS] =?utf-8?q?svn:_/php/php-src/_branches/PHP=5F5=5F3/ext/spl/tests/DirectoryIterator=5FgetGroup=5Fbasic.phpt_branches/PHP=5F5=5F3/ext/spl/tests/DirectoryIterator=5FgetOwner=5Fbasic.phpt_bra

2012-01-08 Thread Rasmus Lerdorf
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

Re: [PHP-CVS] =?utf-8?q?svn:_/php/php-src/_branches/PHP=5F5=5F3/ext/spl/tests/DirectoryIterator=5FgetGroup=5Fbasic.phpt_branches/PHP=5F5=5F3/ext/spl/tests/DirectoryIterator=5FgetOwner=5Fbasic.phpt_bra

2012-01-08 Thread Pierre Joye
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?

Re: [PHP-CVS] =?utf-8?q?svn:_/php/php-src/_branches/PHP=5F5=5F3/ext/spl/tests/DirectoryIterator=5FgetGroup=5Fbasic.phpt_branches/PHP=5F5=5F3/ext/spl/tests/DirectoryIterator=5FgetOwner=5Fbasic.phpt_bra

2012-01-08 Thread Rasmus Lerdorf
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.