From def271aaa7b06bc2efda7b61ff454e524144fa61 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sun, 1 Dec 2024 10:36:38 -0500 Subject: [PATCH] ext/dba/tests/gh16390.phpt: skip if inifile is disabled This test reads an ini "file" from a string, and expects a warning about locking. But if inifile support is disabled, then you'll get Warning: dba_open(): Handler "inifile" is not available in /path/to/ext/dba/tests/gh16390.php on line 3 instead. We skip the test if inifile support is disabled. Closes GH-17011. --- NEWS | 3 +++ ext/dba/tests/gh16390.phpt | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/NEWS b/NEWS index 4a86a80264c..f167580c2f4 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,9 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? ????, PHP 8.3.16 +- DBA: + . Skip test if inifile is disabled. (orlitzky) + - Iconv: . Fixed bug GH-17047 (UAF on iconv filter failure). (nielsdos) diff --git a/ext/dba/tests/gh16390.phpt b/ext/dba/tests/gh16390.phpt index 0b66e742a40..1c9d1f3a52e 100644 --- a/ext/dba/tests/gh16390.phpt +++ b/ext/dba/tests/gh16390.phpt @@ -2,6 +2,11 @@ GH-16390 (dba_open() can segfault for "pathless" streams) --EXTENSIONS-- dba +--SKIPIF-- + --FILE--