cvs: phpruntests /tests/configuration/preconditions rtIfParallelHasPcntlTest.php
| From: | Stefan Priebsch | Date: | Sat, 25 Apr 2009 15:13:24 +0000 |
| Subject: | cvs: phpruntests /tests/configuration/preconditions rtIfParallelHasPcntlTest.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-57212@lists.php.net to get a copy of this message | ||
spriebsch Sat Apr 25 15:13:24 2009 UTC
Modified files:
/phpruntests/tests/configuration/preconditions
rtIfParallelHasPcntlTest.php
Log:
Fixed test to work then no pcntl extension is loaded.
http://cvs.php.net/viewvc.cgi/phpruntests/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php?r1=1.2&r2=1.3&diff_format=u
Index: phpruntests/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php
diff -u phpruntests/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php:1.2
phpruntests/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php:1.3
--- phpruntests/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php:1.2 Mon Apr 20
20:50:39 2009
+++ phpruntests/tests/configuration/preconditions/rtIfParallelHasPcntlTest.php Sat Apr 25 15:13:24
2009
@@ -13,7 +13,7 @@
$pre = new rtIfParallelHasPcntl();
- $this->assertTrue($pre->check($clo, $env));
+ $this->assertEquals(extension_loaded('pcntl'), $pre->check($clo, $env));
}
public function testLoaded2()