10000 minor #48694 [Console] Fix a test when pcntl is not available (follow… · symfony/symfony@27a9df3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 27a9df3

Browse files
committed
minor #48694 [Console] Fix a test when pcntl is not available (following #48329) (HeahDude)
This PR was merged into the 5.4 branch. Discussion ---------- [Console] Fix a test when pcntl is not available (following #48329) | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | ~ | License | MIT | Doc PR | ~ The test is currently failing in AppVeyor (see https://ci.appveyor.com/project/fabpot/symfony/builds/45710392#L1577), the missing check seems present in tests above and below it. Don't know what happened. Commits ------- db5ed1f [Console] Fix a test when pcntl is not available (following #48329)
2 parents 48f0f63 + db5ed1f commit 27a9df3

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
@@ -1969,6 +1969,10 @@ public function testSetSignalsToDispatchEvent()
19691969

19701970
public function testSignalableCommandInterfaceWithoutSignals()
19711971
{
1972+
if (!\defined('SIGUSR1')) {
1973+
$this->markTestSkipped('SIGUSR1 not available');
1974+
}
1975+
19721976
$command = new SignableCommand(false);
19731977

19741978
$dispatcher = new EventDispatcher();

0 commit comments

Comments
 (0)
0