You are here

public function AbstractProcessTest::testProcessWithoutTermSignal in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/Tests/AbstractProcessTest.php \Symfony\Component\Process\Tests\AbstractProcessTest::testProcessWithoutTermSignal()
3 calls to AbstractProcessTest::testProcessWithoutTermSignal()
SigchildDisabledProcessTest::testProcessWithoutTermSignal in vendor/symfony/process/Tests/SigchildDisabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. Term signal can not be retrieved.
SigchildEnabledProcessTest::testProcessWithoutTermSignal in vendor/symfony/process/Tests/SigchildEnabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. Term signal can not be retrieved.
SimpleProcessTest::testProcessWithoutTermSignal in vendor/symfony/process/Tests/SimpleProcessTest.php
3 methods override AbstractProcessTest::testProcessWithoutTermSignal()
SigchildDisabledProcessTest::testProcessWithoutTermSignal in vendor/symfony/process/Tests/SigchildDisabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. Term signal can not be retrieved.
SigchildEnabledProcessTest::testProcessWithoutTermSignal in vendor/symfony/process/Tests/SigchildEnabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. Term signal can not be retrieved.
SimpleProcessTest::testProcessWithoutTermSignal in vendor/symfony/process/Tests/SimpleProcessTest.php

File

vendor/symfony/process/Tests/AbstractProcessTest.php, line 684

Class

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

Namespace

Symfony\Component\Process\Tests

Code

public function testProcessWithoutTermSignal() {
  if ('\\' === DIRECTORY_SEPARATOR) {
    $this
      ->markTestSkipped('Windows does not support POSIX signals');
  }
  $process = $this
    ->getProcess(self::$phpBin . ' -v');
  $process
    ->run();
  $this
    ->assertEquals(0, $process
    ->getTermSignal());
}