Skip to content

Commit 955e2ea

Browse files
authored
Run scandir overflow test on Windows only (#22934)
Avoids creating 70,000 files on platforms unaffected by the Win32 DIR_W32.offset regression. Shaves ~9s off non-Windows test runs.
1 parent 4a42b03 commit 955e2ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ext/standard/tests/file/bug36365.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Bug #36365 (scandir duplicates file name at every 65535th file)
33
--SKIPIF--
44
<?php
5+
if (PHP_OS_FAMILY !== 'Windows') die('skip Windows only');
56
if (getenv("SKIP_SLOW_TESTS")) die('skip slow test');
67
?>
78
--FILE--

0 commit comments

Comments
 (0)