public function AbstractProcessTest::testSignalProcessNotRunning

@expectedException Symfony\Component\Process\Exception\LogicException

1 call to AbstractProcessTest::testSignalProcessNotRunning()
SimpleProcessTest::testSignalProcessNotRunning in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SimpleProcessTest.php
@expectedException Symfony\Component\Process\Exception\LogicException
1 method overrides AbstractProcessTest::testSignalProcessNotRunning()
SimpleProcessTest::testSignalProcessNotRunning in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SimpleProcessTest.php
@expectedException Symfony\Component\Process\Exception\LogicException

File

drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/AbstractProcessTest.php, line 476

Class

AbstractProcessTest
@author Robert Schönthal <seroscho@googlemail.com>

Namespace

Symfony\Component\Process\Tests

Code

public function testSignalProcessNotRunning() {
  if (defined('PHP_WINDOWS_VERSION_BUILD')) {
    $this
      ->markTestSkipped('POSIX signals do not work on windows');
  }
  $process = $this
    ->getProcess('php -m');
  $process
    ->signal(SIGHUP);
}