cvs: phpruntests /tests/configuration/preconditions rtIfParallelHasPcntlTest.php
| From: | Zoe Slattery | Date: | Sat, 27 Jun 2009 13:23:17 +0000 |
| Subject: | cvs: phpruntests /tests/configuration/preconditions rtIfParallelHasPcntlTest.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-59024@lists.php.net to get a copy of this message | ||
zoe Sat Jun 27 13:23:17 2009 UTC
Modified files:
/phpruntests/tests/configuration/preconditions
rtIfParallelHasPcntlTest.php
Log:
fixing test to provide argument to -z
http://cvs.php.net/viewvc.cgi/phpruntests/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php?r1=1.6&r2=1.7&diff_format=u
Index: phpruntests/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php
diff -u phpruntests/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php:1.6
phpruntests/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php:1.7
--- phpruntests/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php:1.6 Tue May 12
22:41:20 2009
+++ phpruntests/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php Sat Jun 27 13:23:17
2009
@@ -43,7 +43,7 @@
*/
public function testCheckWhenCommandLineOptionIsSet()
{
- $runtestsConfiguration =
rtRuntestsConfiguration::getInstance(array('run-tests.php', '-z'));
+ $runtestsConfiguration =
rtRuntestsConfiguration::getInstance(array('run-tests.php', '-z',
'1'));
$this->assertEquals(extension_loaded('pcntl'),
$this->preCondition->check($runtestsConfiguration));
}