[Process] Fix unit tests in sigchild disabled environment
This commit is contained in:
parent
c57fbdad25
commit
5f6ee1205a
@ -133,6 +133,15 @@ class SigchildDisabledProcessTest extends AbstractProcessTest
|
|||||||
$process->getExitCodeText();
|
$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
|
* @expectedException \Symfony\Component\Process\Exception\RuntimeException
|
||||||
* @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.
|
* @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.
|
||||||
|
Reference in New Issue
Block a user