[php-src] master: Run scandir overflow test on Windows only (#22934)

From: Date: Thu, 30 Jul 2026 13:44:10 +0000
Subject: [php-src] master: Run scandir overflow test on Windows only (#22934)
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-140344@lists.php.net to get a copy of this message
Author: NickSdot (NickSdot) Committer: GitHub (web-flow) Pusher: arnaud-lb Date: 2026-07-30T15:44:07+02:00 Commit: https://github.com/php/php-src/commit/955e2ea14b09681dc84f6a6a5f8dadff857ddf08 Raw diff: https://github.com/php/php-src/commit/955e2ea14b09681dc84f6a6a5f8dadff857ddf08.diff 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. Changed paths: M ext/standard/tests/file/bug36365.phpt Diff: diff --git a/ext/standard/tests/file/bug36365.phpt b/ext/standard/tests/file/bug36365.phpt index be1a6c516555..c3aeb8045d6e 100644 --- a/ext/standard/tests/file/bug36365.phpt +++ b/ext/standard/tests/file/bug36365.phpt @@ -2,6 +2,7 @@ Bug #36365 (scandir duplicates file name at every 65535th file) --SKIPIF-- <?php +if (PHP_OS_FAMILY !== 'Windows') die('skip Windows only'); if (getenv("SKIP_SLOW_TESTS")) die('skip slow test'); ?> --FILE--

« previous php.cvs (#140344) next »