Skip to content

Commit 4f768f0

Browse files
committed
Skip the SigWait requeue test where pcntl has no sigwaitinfo()
macOS has no sigwaitinfo(), so the test died on an undefined function; it skips like the other signal-op tests.
1 parent f950d6d commit 4f768f0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎ext/standard/tests/streams/hooks/ring-sigwait-requeue.phpt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ posix
66
--SKIPIF--
77
<?php
88
if (!class_exists(Io\Ring\Engine::class)) die("skip Io\\Ring\\Engine not available");
9+
if (!function_exists('pcntl_sigwaitinfo')) die('skip pcntl_sigwaitinfo() not available');
910
?>
1011
--FILE--
1112
<?php

0 commit comments

Comments
 (0)