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

Skip to content

Commit 9bd719e

Browse files
committed
[Console] Fix a test when pcntl is not available (following #48329)
1 parent 8e9b9c8 commit 9bd719e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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)