Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1923f8c

Browse files
committed
minor #48695 [Console] Fix a test when pcntl is not available (HeahDude)
This PR was merged into the 6.3 branch. Discussion ---------- [Console] Fix a test when pcntl is not available | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | ~ | License | MIT | Doc PR | ~ Same as #48694, about #48299. Commits ------- 2ad8bb1 [Console] Fix a test when pcntl is not available
2 parents bb6e4da + 2ad8bb1 commit 1923f8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/Console/Tests/ApplicationTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2036,6 +2036,10 @@ public function testSignalableCommandHandlerCalledAfterEventListener()
20362036

20372037
public function testSignalableCommandDoesNotInterruptedOnTermSignals()
20382038
{
2039+
if (!\defined('SIGINT')) {
2040+
$this->markTestSkipped('SIGINT not available');
2041+
}
2042+
20392043
$command = new TerminatableCommand(true, \SIGINT);
20402044
$command->exitCode = 129;
20412045

0 commit comments

Comments
 (0)