projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
PHP 8 compatibility
[m6w6/ext-psi]
/
tests
/
ndbm
/
ndbm001.phpt
diff --git
a/tests/ndbm/ndbm001.phpt
b/tests/ndbm/ndbm001.phpt
index 403bdc33965810403a47e580ce1eafd01ba1ca8e..63bc035439523cde549e857b2b8b90ac7afd2aae 100644
(file)
--- a/
tests/ndbm/ndbm001.phpt
+++ b/
tests/ndbm/ndbm001.phpt
@@
-2,11
+2,6
@@
ndbm
--INI--
psi.directory={PWD}:{PWD}/../../psi.d
ndbm
--INI--
psi.directory={PWD}:{PWD}/../../psi.d
---SKIPIF--
-<?php
-extension_loaded("psi") or die("skip - need ext/psi");
-function_exists("psi\\dbm_open") or die("skip - need nbdm support");
-?>
--FILE--
===TEST===
<?php
--FILE--
===TEST===
<?php
@@
-21,6
+16,7
@@
class db {
function __destruct() {
psi\dbm_close($this->db);
function __destruct() {
psi\dbm_close($this->db);
+ array_map("unlink", glob(__DIR__."/ndbm001.db*"));
}
function __set($k, $v) {
}
function __set($k, $v) {