Re: svn: /php/php-src/ branches/PHP 5 3/ext/spl/tests/DirectoryIterator getGroup basic.phpt branches/PHP 5 3/ext/spl/tests/DirectoryIterator getOwner
basic.phpt branches/PHP 5 4/ext/spl/tests/DirectoryIterator getG...

From: Date: Sun, 08 Jan 2012 21:47:11 +0000
Subject: Re: svn: /php/php-src/ branches/PHP 5 3/ext/spl/tests/DirectoryIterator getGroup basic.phpt branches/PHP 5 3/ext/spl/tests/DirectoryIterator getOwner
basic.phpt branches/PHP 5 4/ext/spl/tests/DirectoryIterator getG...
References: 1 2 3  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-67424@lists.php.net to get a copy of this message
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. Ok, I dug a bit deeper. You are right, technically the check doesn't work on Windows, but the way our tests work, unless the skipif script returns "skip" the test will run, even if the skipif has an error. So, the 20+ tests that do this check will still run on Windows. -Rasmus

« previous php.cvs (#67424) next »