1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 07:58:20 +02:00
Files
archived-php-src/ext/dba/tests/gh9155.phpt
T
Christoph M. Becker f11228cdbe Add conflict markers for dba tests
These tests use the same filename, and as such must not be run in
parallel.
2022-08-04 16:23:26 +02:00

26 lines
408 B
PHP

--TEST--
Bug GH-9155 (dba_open("non-existing", "c-", "flatfile") segfaults)
--EXTENSIONS--
dba
--CONFLICTS--
dba
--SKIPIF--
<?php
$handler = "flatfile";
require_once(__DIR__ .'/skipif.inc');
?>
--FILE--
<?php
require_once(__DIR__ .'/test.inc');
$db = dba_open($db_filename, 'c-', 'flatfile');
var_dump($db);
?>
--CLEAN--
<?php
require_once(__DIR__ .'/clean.inc');
?>
--EXPECTF--
resource(%d) of type (dba)