public function SimpleProcessTest::testSignalWithWrongIntSignal in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/process/Tests/SimpleProcessTest.php \Symfony\Component\Process\Tests\SimpleProcessTest::testSignalWithWrongIntSignal()
@expectedException \Symfony\Component\Process\Exception\RuntimeException
Overrides AbstractProcessTest::testSignalWithWrongIntSignal
File
- vendor/
symfony/ process/ Tests/ SimpleProcessTest.php, line 130
Class
Namespace
Symfony\Component\Process\TestsCode
public function testSignalWithWrongIntSignal() {
if ($this->enabledSigchild) {
$this
->expectExceptionIfPHPSigchild('Symfony\\Component\\Process\\Exception\\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
}
else {
$this
->setExpectedException('Symfony\\Component\\Process\\Exception\\RuntimeException', 'Error while sending signal `-4`.');
}
parent::testSignalWithWrongIntSignal();
}