You are here

private function AbstractProcessTest::verifyPosixIsEnabled in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/process/Tests/AbstractProcessTest.php \Symfony\Component\Process\Tests\AbstractProcessTest::verifyPosixIsEnabled()
4 calls to AbstractProcessTest::verifyPosixIsEnabled()
AbstractProcessTest::testExitCodeIsAvailableAfterSignal in vendor/symfony/process/Tests/AbstractProcessTest.php
AbstractProcessTest::testSignal in vendor/symfony/process/Tests/AbstractProcessTest.php
AbstractProcessTest::testSignalProcessNotRunning in vendor/symfony/process/Tests/AbstractProcessTest.php
@expectedException \Symfony\Component\Process\Exception\LogicException
AbstractProcessTest::testStopWithTimeoutIsActuallyWorking in vendor/symfony/process/Tests/AbstractProcessTest.php

File

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

Class

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

Namespace

Symfony\Component\Process\Tests

Code

private function verifyPosixIsEnabled() {
  if ('\\' === DIRECTORY_SEPARATOR) {
    $this
      ->markTestSkipped('POSIX signals do not work on Windows');
  }
  if (!defined('SIGUSR1')) {
    $this
      ->markTestSkipped('The pcntl extension is not enabled');
  }
}