Skip to content

Commit c3d6bf6

Browse files
committed
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 phpGH-20351.
1 parent 20654ce commit c3d6bf6

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

ext/zlib/tests/zlib_flock.txt.gz

150 Bytes
Binary file not shown.

ext/zlib/tests/zlib_wrapper_flock_basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Test function stream_get_meta_data on a zlib stream
44
zlib
55
--FILE--
66
<?php
7-
$f = __DIR__."/004.txt.gz";
7+
$f = __DIR__."/zlib_flock.txt.gz";
88
$h = gzopen($f,'r');
99
var_dump(flock($h, LOCK_SH));
1010
gzclose($h);

0 commit comments

Comments
 (0)