public function AbstractProcessTest::testSuccessfulMustRunHasCorrectExitCode in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/Tests/AbstractProcessTest.php \Symfony\Component\Process\Tests\AbstractProcessTest::testSuccessfulMustRunHasCorrectExitCode()
1 call to AbstractProcessTest::testSuccessfulMustRunHasCorrectExitCode()
- SigchildDisabledProcessTest::testSuccessfulMustRunHasCorrectExitCode in vendor/
symfony/ process/ Tests/ SigchildDisabledProcessTest.php - @expectedException \Symfony\Component\Process\Exception\RuntimeException @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.
1 method overrides AbstractProcessTest::testSuccessfulMustRunHasCorrectExitCode()
- SigchildDisabledProcessTest::testSuccessfulMustRunHasCorrectExitCode in vendor/
symfony/ process/ Tests/ SigchildDisabledProcessTest.php - @expectedException \Symfony\Component\Process\Exception\RuntimeException @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.
File
- vendor/
symfony/ process/ Tests/ AbstractProcessTest.php, line 533
Class
- AbstractProcessTest
- @author Robert Schönthal <seroscho@googlemail.com>
Namespace
Symfony\Component\Process\TestsCode
public function testSuccessfulMustRunHasCorrectExitCode() {
$process = $this
->getProcess('echo foo')
->mustRun();
$this
->assertEquals(0, $process
->getExitCode());
}