1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Update zlib test to use separate file for flock()

This should prevent the nightly failures that fail with permission
denied on platforms with mandatory locks.

Closes GH-20351.
This commit is contained in:
Niels Dossche
2025-10-31 23:43:24 +01:00
parent 20654ce4c9
commit c3d6bf65d5
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@@ -4,7 +4,7 @@ Test function stream_get_meta_data on a zlib stream
zlib
--FILE--
<?php
$f = __DIR__."/004.txt.gz";
$f = __DIR__."/zlib_flock.txt.gz";
$h = gzopen($f,'r');
var_dump(flock($h, LOCK_SH));
gzclose($h);