public function AbstractProcessTest::testProcessWithoutTermSignal

3 calls to AbstractProcessTest::testProcessWithoutTermSignal()
SigchildDisabledProcessTest::testProcessWithoutTermSignal in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException
SigchildEnabledProcessTest::testProcessWithoutTermSignal in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SigchildEnabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException
SimpleProcessTest::testProcessWithoutTermSignal in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SimpleProcessTest.php
3 methods override AbstractProcessTest::testProcessWithoutTermSignal()
SigchildDisabledProcessTest::testProcessWithoutTermSignal in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException
SigchildEnabledProcessTest::testProcessWithoutTermSignal in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SigchildEnabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException
SimpleProcessTest::testProcessWithoutTermSignal in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SimpleProcessTest.php

File

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

Class

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

Namespace

Symfony\Component\Process\Tests

Code

public function testProcessWithoutTermSignal() {
  if (defined('PHP_WINDOWS_VERSION_BUILD')) {
    $this
      ->markTestSkipped('Windows does not support POSIX signals');
  }
  $process = $this
    ->getProcess('php -m');
  $process
    ->run();
  $this
    ->assertEquals(0, $process
    ->getTermSignal());
}