diff --git a/src/Symfony/Component/Console/Tests/ApplicationTest.php b/src/Symfony/Component/Console/Tests/ApplicationTest.php index d56492d84ee1c..7d24dec8b8478 100644 --- a/src/Symfony/Component/Console/Tests/ApplicationTest.php +++ b/src/Symfony/Component/Console/Tests/ApplicationTest.php @@ -2036,6 +2036,10 @@ public function testSignalableCommandHandlerCalledAfterEventListener() public function testSignalableCommandDoesNotInterruptedOnTermSignals() { + if (!\defined('SIGINT')) { + $this->markTestSkipped('SIGINT not available'); + } + $command = new TerminatableCommand(true, \SIGINT); $command->exitCode = 129;