minor #10483 [2.3][Process] Fix unit tests in sigchild disabled environment (romainneutron)
This PR was merged into the 2.3 branch.
Discussion
----------
[2.3][Process] Fix unit tests in sigchild disabled environment
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| License | MIT
We've been a bit fast when merging #10480 and tests were broken in the last update I did.
Commits
-------
5f6ee12
[Process] Fix unit tests in sigchild disabled environment
This commit is contained in:
commit
fccf8b509a
@ -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