Skip to content

Commit 56c0efc

Browse files
committed
ext/session: skip session_write_close_encode_failure.phpt on Solaris.
flock() is emulated with per-process fcntl() locks there.
1 parent 6cda542 commit 56c0efc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎ext/session/tests/session_write_close_encode_failure.phpt‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ session_write_close() closes the save handler when encoding the session data fai
33
--EXTENSIONS--
44
session
55
--SKIPIF--
6-
<?php include('skipif.inc'); ?>
6+
<?php
7+
include('skipif.inc');
8+
if (PHP_OS_FAMILY === "Solaris") {
9+
die("skip flock() is emulated with per-process fcntl() locks on Solaris");
10+
}
11+
?>
712
--INI--
813
session.use_cookies=0
914
session.cache_limiter=

0 commit comments

Comments
 (0)