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();
 }
예제 #2
0
 /**
  * @expectedException \Symfony\Component\Process\Exception\RuntimeException
  */
 public function testSignalWithWrongIntSignal()
 {
     $this->skipIfPHPSigchild();
     parent::testSignalWithWrongIntSignal();
 }