mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix skipif for mkfifo usage in gh20582.phpt (#20804)
Makes it like ext/standard/tests/file/filetype_variation.phpt; it's not just Windows that can have a missing posix_mkfifo, but also a minimal build, like the ones suggested that RMs test with (using --disable-all).
This commit is contained in:
@@ -5,7 +5,9 @@ Nikita Sveshnikov (Positive Technologies)
|
|||||||
ndossche
|
ndossche
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (PHP_OS_FAMILY === "Windows") die("skip Only for platforms with FIFO pipes");
|
if (!function_exists("posix_mkfifo")) {
|
||||||
|
die("skip no posix_mkfifo()");
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Reference in New Issue
Block a user