Skip to content

Commit ac4039d

Browse files
committed
Mark gd14930.phpt as dynamic xfail
This test only fails when `NAME_MAX` is defined, which is never the case on Windows, so we let the test pass there. This could be extended to other environments where `NAME_MAX` is not defined.
1 parent 5f504f1 commit ac4039d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ext/standard/tests/streams/gh14930.phpt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
--TEST--
22
GH-14930: Custom stream wrapper dir_readdir output truncated to 255 characters in PHP 8.3
3-
--XFAIL--
4-
Fix is an ABI break so reverted from 8.3
3+
--SKIPIF--
4+
<?php
5+
if (PHP_OS_FAMILY !== "Windows") die("xfail Fix is an ABI break so reverted from 8.3");
6+
?>
57
--FILE--
68
<?php
79

0 commit comments

Comments
 (0)