public function AbstractProcessTest::testSignalWithWrongIntSignal in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/process/Tests/AbstractProcessTest.php \Symfony\Component\Process\Tests\AbstractProcessTest::testSignalWithWrongIntSignal()
@expectedException \Symfony\Component\Process\Exception\RuntimeException
1 call to AbstractProcessTest::testSignalWithWrongIntSignal()
- SimpleProcessTest::testSignalWithWrongIntSignal in vendor/
symfony/ process/ Tests/ SimpleProcessTest.php - @expectedException \Symfony\Component\Process\Exception\RuntimeException
1 method overrides AbstractProcessTest::testSignalWithWrongIntSignal()
- SimpleProcessTest::testSignalWithWrongIntSignal in vendor/
symfony/ process/ Tests/ SimpleProcessTest.php - @expectedException \Symfony\Component\Process\Exception\RuntimeException
File
- vendor/
symfony/ process/ Tests/ AbstractProcessTest.php, line 1011
Class
- AbstractProcessTest
- @author Robert Schönthal <seroscho@googlemail.com>
Namespace
Symfony\Component\Process\TestsCode
public function testSignalWithWrongIntSignal() {
if ('\\' === DIRECTORY_SEPARATOR) {
$this
->markTestSkipped('POSIX signals do not work on Windows');
}
$process = $this
->getProcess(self::$phpBin . ' -r "sleep(3);"');
$process
->start();
$process
->signal(-4);
}