1
0
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:
Calvin Buckley
2025-12-31 13:04:09 -04:00
committed by GitHub
parent 404b4c816a
commit bd484ed65f

View File

@@ -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