8000 [Console] Fix a test when pcntl is not available (following #48329) · symfony/symfony@db5ed1f · GitHub
[go: up one dir, main page]

Skip to content

Commit db5ed1f

Browse files
committed
[Console] Fix a test when pcntl is not available (following #48329)
1 parent 48f0f63 commit db5ed1f

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