[Process] Fix unit tests in sigchild disabled environment

This commit is contained in:
Romain Neutron 2014-03-18 19:08:52 +01:00
parent c57fbdad25
commit 5f6ee1205a

View File

@ -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.