Skip to content

Commit bd484ed

Browse files
authored
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).
1 parent 404b4c8 commit bd484ed

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/standard/tests/image/gh20582.phpt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ Nikita Sveshnikov (Positive Technologies)
55
ndossche
66
--SKIPIF--
77
<?php
8-
if (PHP_OS_FAMILY === "Windows") die("skip Only for platforms with FIFO pipes");
8+
if (!function_exists("posix_mkfifo")) {
9+
die("skip no posix_mkfifo()");
10+
}
911
?>
1012
--FILE--
1113
<?php

0 commit comments

Comments
 (0)