From 5f6ee1205ad8763379b67e94021b85111fdd0f58 Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Tue, 18 Mar 2014 19:08:52 +0100 Subject: [PATCH] [Process] Fix unit tests in sigchild disabled environment --- .../Process/Tests/SigchildDisabledProcessTest.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php b/src/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php index 8580649b29..798e66a571 100644 --- a/src/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php +++ b/src/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php @@ -133,6 +133,15 @@ class SigchildDisabledProcessTest extends AbstractProcessTest $process->getExitCodeText(); } + /** + * @expectedException \Symfony\Component\Process\Exception\RuntimeException + * @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method. + */ + public function testExitCodeTextIsNullWhenExitCodeIsNull() + { + parent::testExitCodeTextIsNullWhenExitCodeIsNull(); + } + /** * @expectedException \Symfony\Component\Process\Exception\RuntimeException * @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.