Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1923f8c

Browse filesBrowse 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
Copy full SHA for 1923f8c

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Tests/ApplicationTest.php
+4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.