summaryrefslogtreecommitdiff
path: root/ext/dba
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dba')
-rw-r--r--ext/dba/tests/bug36436.phpt2
-rw-r--r--ext/dba/tests/bug38698.phpt2
-rw-r--r--ext/dba/tests/bug48240.phpt2
-rw-r--r--ext/dba/tests/bug62490.phpt2
-rw-r--r--ext/dba/tests/bug70825.phpt2
-rw-r--r--ext/dba/tests/bug71514.phpt2
-rw-r--r--ext/dba/tests/bug72885.phpt2
-rw-r--r--ext/dba/tests/dba015.phpt2
-rw-r--r--ext/dba/tests/dba016.phpt2
-rw-r--r--ext/dba/tests/dba_cdb.phpt2
-rw-r--r--ext/dba/tests/dba_cdb_001.phpt2
-rw-r--r--ext/dba/tests/dba_db1.phpt2
-rw-r--r--ext/dba/tests/dba_db2.phpt2
-rw-r--r--ext/dba/tests/dba_db3.phpt2
-rw-r--r--ext/dba/tests/dba_db4_000.phpt2
-rw-r--r--ext/dba/tests/dba_db4_018.phpt2
-rw-r--r--ext/dba/tests/dba_db4_optimize.phpt3
-rw-r--r--ext/dba/tests/dba_db4_sync.phpt3
-rw-r--r--ext/dba/tests/dba_dbm.phpt2
-rw-r--r--ext/dba/tests/dba_flatfile.phpt2
-rw-r--r--ext/dba/tests/dba_gdbm.phpt2
-rw-r--r--ext/dba/tests/dba_inifile.phpt2
-rw-r--r--ext/dba/tests/dba_lmdb.phpt2
-rw-r--r--ext/dba/tests/dba_ndbm.phpt2
-rw-r--r--ext/dba/tests/dba_optimize.phpt3
-rw-r--r--ext/dba/tests/dba_qdbm.phpt2
-rw-r--r--ext/dba/tests/dba_split.phpt3
-rw-r--r--ext/dba/tests/dba_sync.phpt3
-rw-r--r--ext/dba/tests/dba_tcadb.phpt2
29 files changed, 0 insertions, 63 deletions
diff --git a/ext/dba/tests/bug36436.phpt b/ext/dba/tests/bug36436.phpt
index fa1d6140f6..fe625b62bc 100644
--- a/ext/dba/tests/bug36436.phpt
+++ b/ext/dba/tests/bug36436.phpt
@@ -24,7 +24,6 @@ var_dump(dba_nextkey($db));
dba_close($db);
?>
-===DONE===
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
@@ -34,4 +33,3 @@ resource(%d) of type (dba persistent)
string(3) "XYZ"
string(1) "X"
string(1) "Y"
-===DONE===
diff --git a/ext/dba/tests/bug38698.phpt b/ext/dba/tests/bug38698.phpt
index 6ace7c02aa..9630af639d 100644
--- a/ext/dba/tests/bug38698.phpt
+++ b/ext/dba/tests/bug38698.phpt
@@ -28,7 +28,5 @@ if (($db_make=dba_open($db_file, "n", 'cdb_make'))!==FALSE) {
echo "Error creating database\n";
}
?>
-===DONE===
--EXPECT--
string(32) "1f34b74bde3744265acfc21e0f30af95"
-===DONE===
diff --git a/ext/dba/tests/bug48240.phpt b/ext/dba/tests/bug48240.phpt
index 75e70da965..c735c9a07d 100644
--- a/ext/dba/tests/bug48240.phpt
+++ b/ext/dba/tests/bug48240.phpt
@@ -18,11 +18,9 @@ var_dump(dba_nextkey($db));
dba_close($db);
?>
-===DONE===
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
?>
--EXPECT--
bool(false)
-===DONE===
diff --git a/ext/dba/tests/bug62490.phpt b/ext/dba/tests/bug62490.phpt
index 41a9cdead7..a0fc64aafa 100644
--- a/ext/dba/tests/bug62490.phpt
+++ b/ext/dba/tests/bug62490.phpt
@@ -27,7 +27,6 @@ echo "delete:";
var_dump(dba_delete("a", $dba));
?>
-===DONE===
--CLEAN--
<?php
include "clean.inc";
@@ -40,4 +39,3 @@ exists:bool(true)
delete:bool(true)
exists:bool(false)
delete:bool(false)
-===DONE===
diff --git a/ext/dba/tests/bug70825.phpt b/ext/dba/tests/bug70825.phpt
index ff05f01cf4..6ab16efd0f 100644
--- a/ext/dba/tests/bug70825.phpt
+++ b/ext/dba/tests/bug70825.phpt
@@ -49,7 +49,6 @@ var_dump(dba_fetch('[foo]bar', 2, $db));
dba_close($db);
unlink($filename);
?>
-==DONE==
--EXPECT--
string(2) "23"
string(2) "42"
@@ -63,7 +62,6 @@ string(4) "1337"
string(2) "23"
string(2) "42"
string(4) "1337"
-==DONE==
--CLEAN--
<?php
$filename = __DIR__ . DIRECTORY_SEPARATOR . 'bug70825.ini';
diff --git a/ext/dba/tests/bug71514.phpt b/ext/dba/tests/bug71514.phpt
index 08338f3793..8aada12e8f 100644
--- a/ext/dba/tests/bug71514.phpt
+++ b/ext/dba/tests/bug71514.phpt
@@ -17,10 +17,8 @@ var_dump(dba_fetch('foo', $db));
dba_close($db);
?>
-==DONE==
--EXPECT--
string(6) "value2"
-==DONE==
--CLEAN--
<?php
$filename = __DIR__ . DIRECTORY_SEPARATOR . 'bug71514.ini';
diff --git a/ext/dba/tests/bug72885.phpt b/ext/dba/tests/bug72885.phpt
index f8bcc7e7ab..367e54f18c 100644
--- a/ext/dba/tests/bug72885.phpt
+++ b/ext/dba/tests/bug72885.phpt
@@ -17,7 +17,6 @@ var_dump(dba_fetch('foo', $db));
dba_close($db);
?>
-===DONE===
--CLEAN--
<?php
require_once(__DIR__ .'/clean.inc');
@@ -25,4 +24,3 @@ require_once(__DIR__ .'/clean.inc');
--EXPECT--
bool(true)
string(3) "baz"
-===DONE===
diff --git a/ext/dba/tests/dba015.phpt b/ext/dba/tests/dba015.phpt
index 7d268cbe20..42a448dde9 100644
--- a/ext/dba/tests/dba015.phpt
+++ b/ext/dba/tests/dba015.phpt
@@ -48,7 +48,6 @@ echo dba_fetch("key1", $db_file1), "\n";
echo dba_fetch("key2", $db_file1), "\n";
?>
-===DONE===
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
@@ -71,4 +70,3 @@ resource(%d) of type (Unknown)
Test 6 - query after closing 2nd resource
This is a test insert 1
This is a test insert 2
-===DONE===
diff --git a/ext/dba/tests/dba016.phpt b/ext/dba/tests/dba016.phpt
index 60bf4da4bf..5d2a35990c 100644
--- a/ext/dba/tests/dba016.phpt
+++ b/ext/dba/tests/dba016.phpt
@@ -15,7 +15,6 @@ echo "database handler: $handler\n";
$db_file1 = dba_popen($db_filename, 'n-t', 'flatfile');
?>
-===DONE===
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
@@ -24,4 +23,3 @@ $db_file1 = dba_popen($db_filename, 'n-t', 'flatfile');
database handler: flatfile
Warning: dba_popen(%stest0.dbm,n-t): You cannot combine modifiers - (no lock) and t (test lock) in %sdba016.php on line %d
-===DONE===
diff --git a/ext/dba/tests/dba_cdb.phpt b/ext/dba/tests/dba_cdb.phpt
index 87e9992179..6bd0fe42b9 100644
--- a/ext/dba/tests/dba_cdb.phpt
+++ b/ext/dba/tests/dba_cdb.phpt
@@ -12,7 +12,6 @@ DBA CDB handler test
require_once(__DIR__ .'/test.inc');
require_once(__DIR__ .'/dba_handler.inc');
?>
-===DONE===
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
@@ -48,4 +47,3 @@ array(5) {
["key5"]=>
string(23) "The last content string"
}
-===DONE===
diff --git a/ext/dba/tests/dba_cdb_001.phpt b/ext/dba/tests/dba_cdb_001.phpt
index 82a1c0b585..3e72d54dab 100644
--- a/ext/dba/tests/dba_cdb_001.phpt
+++ b/ext/dba/tests/dba_cdb_001.phpt
@@ -61,7 +61,6 @@ else {
}
?>
-===DONE===
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
@@ -86,4 +85,3 @@ Test 3
Warning: dba_open(%stest0.dbm,w): Driver initialization failed for handler: cdb: Update operations are not supported in %sdba_cdb_001.php on line %d
Failed to open DB
-===DONE===
diff --git a/ext/dba/tests/dba_db1.phpt b/ext/dba/tests/dba_db1.phpt
index c378aaf3c2..a08809c0e7 100644
--- a/ext/dba/tests/dba_db1.phpt
+++ b/ext/dba/tests/dba_db1.phpt
@@ -11,7 +11,6 @@ DBA DB1 handler test
require_once __DIR__ .'/test.inc';
require_once __DIR__ .'/dba_handler.inc';
?>
-===DONE===
--EXPECT--
database handler: db1
3NYNYY
@@ -47,4 +46,3 @@ array(3) {
["key5"]=>
string(23) "The last content string"
}
-===DONE===
diff --git a/ext/dba/tests/dba_db2.phpt b/ext/dba/tests/dba_db2.phpt
index 8662189cbd..ef48664762 100644
--- a/ext/dba/tests/dba_db2.phpt
+++ b/ext/dba/tests/dba_db2.phpt
@@ -11,7 +11,6 @@ DBA DB2 handler test
require_once __DIR__ .'/test.inc';
require_once __DIR__ .'/dba_handler.inc';
?>
-===DONE===
--EXPECT--
database handler: db2
3NYNYY
@@ -47,4 +46,3 @@ array(3) {
["key5"]=>
string(23) "The last content string"
}
-===DONE===
diff --git a/ext/dba/tests/dba_db3.phpt b/ext/dba/tests/dba_db3.phpt
index 670680cb8a..a07780ea34 100644
--- a/ext/dba/tests/dba_db3.phpt
+++ b/ext/dba/tests/dba_db3.phpt
@@ -11,7 +11,6 @@ DBA DB3 handler test
require_once __DIR__ .'/test.inc';
require_once __DIR__ .'/dba_handler.inc';
?>
-===DONE===
--EXPECT--
database handler: db3
3NYNYY
@@ -47,4 +46,3 @@ array(3) {
["key5"]=>
string(23) "The last content string"
}
-===DONE===
diff --git a/ext/dba/tests/dba_db4_000.phpt b/ext/dba/tests/dba_db4_000.phpt
index afeedff47c..4453e06284 100644
--- a/ext/dba/tests/dba_db4_000.phpt
+++ b/ext/dba/tests/dba_db4_000.phpt
@@ -11,7 +11,6 @@ $handler = 'db4';
require_once(__DIR__ .'/test.inc');
require_once(__DIR__ .'/dba_handler.inc');
?>
-===DONE===
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
@@ -51,4 +50,3 @@ array(3) {
["key5"]=>
string(23) "The last content string"
}
-===DONE===
diff --git a/ext/dba/tests/dba_db4_018.phpt b/ext/dba/tests/dba_db4_018.phpt
index e4b4cfcf27..e69d60489d 100644
--- a/ext/dba/tests/dba_db4_018.phpt
+++ b/ext/dba/tests/dba_db4_018.phpt
@@ -48,7 +48,6 @@ echo dba_fetch("key1", $db_file1), "\n";
echo dba_fetch("key2", $db_file1), "\n";
?>
-===DONE===
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
@@ -73,4 +72,3 @@ resource(%d) of type (Unknown)
Test 6 - query after closing 2nd resource
This is a test insert 1
This is a test insert 2
-===DONE===
diff --git a/ext/dba/tests/dba_db4_optimize.phpt b/ext/dba/tests/dba_db4_optimize.phpt
index 8a039b7152..1b09f94326 100644
--- a/ext/dba/tests/dba_db4_optimize.phpt
+++ b/ext/dba/tests/dba_db4_optimize.phpt
@@ -25,8 +25,6 @@ if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) {
}
?>
-===DONE===
-<?php exit(0); ?>
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
@@ -35,4 +33,3 @@ require(__DIR__ .'/clean.inc');
database handler: db4
YY
bool(true)
-===DONE===
diff --git a/ext/dba/tests/dba_db4_sync.phpt b/ext/dba/tests/dba_db4_sync.phpt
index e659333907..4bee99b67d 100644
--- a/ext/dba/tests/dba_db4_sync.phpt
+++ b/ext/dba/tests/dba_db4_sync.phpt
@@ -25,8 +25,6 @@ if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) {
}
?>
-===DONE===
-<?php exit(0); ?>
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
@@ -35,4 +33,3 @@ require(__DIR__ .'/clean.inc');
database handler: db4
YY
bool(true)
-===DONE===
diff --git a/ext/dba/tests/dba_dbm.phpt b/ext/dba/tests/dba_dbm.phpt
index 39f0a99fae..be9c988433 100644
--- a/ext/dba/tests/dba_dbm.phpt
+++ b/ext/dba/tests/dba_dbm.phpt
@@ -11,7 +11,6 @@ DBA DBM handler test
require_once __DIR__ .'/test.inc';
require_once __DIR__ .'/dba_handler.inc';
?>
-===DONE===
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
@@ -51,4 +50,3 @@ array(3) {
["key5"]=>
string(23) "The last content string"
}
-===DONE===
diff --git a/ext/dba/tests/dba_flatfile.phpt b/ext/dba/tests/dba_flatfile.phpt
index 4fcaafe32d..1119339ca7 100644
--- a/ext/dba/tests/dba_flatfile.phpt
+++ b/ext/dba/tests/dba_flatfile.phpt
@@ -11,7 +11,6 @@ DBA FlatFile handler test
require_once(__DIR__ .'/test.inc');
require_once(__DIR__ .'/dba_handler.inc');
?>
-===DONE===
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
@@ -51,4 +50,3 @@ array(3) {
["key5"]=>
string(23) "The last content string"
}
-===DONE===
diff --git a/ext/dba/tests/dba_gdbm.phpt b/ext/dba/tests/dba_gdbm.phpt
index 8ca2adfe04..3de1cdd682 100644
--- a/ext/dba/tests/dba_gdbm.phpt
+++ b/ext/dba/tests/dba_gdbm.phpt
@@ -14,7 +14,6 @@ DBA GDBM handler test
// Read during write is system dependent. Important is that there is no deadlock
?>
-===DONE===
--EXPECTF--
database handler: gdbm
3NYNYY
@@ -33,4 +32,3 @@ array(3) {
["key5"]=>
string(23) "The last content string"
}
-===DONE===
diff --git a/ext/dba/tests/dba_inifile.phpt b/ext/dba/tests/dba_inifile.phpt
index c21413f1ac..cbcd6c1e8d 100644
--- a/ext/dba/tests/dba_inifile.phpt
+++ b/ext/dba/tests/dba_inifile.phpt
@@ -11,7 +11,6 @@ DBA INIFILE handler test
require_once __DIR__ .'/test.inc';
require_once __DIR__ .'/dba_handler.inc';
?>
-===DONE===
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
@@ -51,4 +50,3 @@ array(3) {
["key5"]=>
string(23) "The last content string"
}
-===DONE===
diff --git a/ext/dba/tests/dba_lmdb.phpt b/ext/dba/tests/dba_lmdb.phpt
index 3ca8bfeb07..7f6d484040 100644
--- a/ext/dba/tests/dba_lmdb.phpt
+++ b/ext/dba/tests/dba_lmdb.phpt
@@ -12,7 +12,6 @@ DBA LMDB handler test
$lock_flag = ''; // lock in library
require_once __DIR__ .'/dba_handler.inc';
?>
-===DONE===
--CLEAN--
<?php
require_once __DIR__ .'/clean.inc';
@@ -35,4 +34,3 @@ array(3) {
["key5"]=>
string(23) "The last content string"
}
-===DONE===
diff --git a/ext/dba/tests/dba_ndbm.phpt b/ext/dba/tests/dba_ndbm.phpt
index 616bcb2c6b..6fc8a1ec3b 100644
--- a/ext/dba/tests/dba_ndbm.phpt
+++ b/ext/dba/tests/dba_ndbm.phpt
@@ -11,7 +11,6 @@ DBA NDBM handler test
require_once __DIR__ .'/test.inc';
require_once __DIR__ .'/dba_handler.inc';
?>
-===DONE===
--EXPECT--
database handler: ndbm
3NYNYY
@@ -47,4 +46,3 @@ array(3) {
["key5"]=>
string(23) "The last content string"
}
-===DONE===
diff --git a/ext/dba/tests/dba_optimize.phpt b/ext/dba/tests/dba_optimize.phpt
index 9aee57e39f..fb54531e5a 100644
--- a/ext/dba/tests/dba_optimize.phpt
+++ b/ext/dba/tests/dba_optimize.phpt
@@ -30,8 +30,6 @@ if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) {
}
?>
-===DONE===
-<?php exit(0); ?>
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
@@ -40,4 +38,3 @@ if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) {
database handler: flatfile
2YY
bool(true)
-===DONE===
diff --git a/ext/dba/tests/dba_qdbm.phpt b/ext/dba/tests/dba_qdbm.phpt
index 4f2a097c38..a864121a1d 100644
--- a/ext/dba/tests/dba_qdbm.phpt
+++ b/ext/dba/tests/dba_qdbm.phpt
@@ -12,7 +12,6 @@ DBA QDBM handler test
$lock_flag = ''; // lock in library
require_once __DIR__ .'/dba_handler.inc';
?>
-===DONE===
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
@@ -35,4 +34,3 @@ array(3) {
["key5"]=>
string(23) "The last content string"
}
-===DONE===
diff --git a/ext/dba/tests/dba_split.phpt b/ext/dba/tests/dba_split.phpt
index 77a0f3b5a0..c320163ec0 100644
--- a/ext/dba/tests/dba_split.phpt
+++ b/ext/dba/tests/dba_split.phpt
@@ -19,8 +19,6 @@ var_dump(dba_key_split("[key1]name1[key2]name2"));
var_dump(dba_key_split("[key1]name1"));
?>
-===DONE===
-<?php exit(0); ?>
--EXPECTF--
array(2) {
[0]=>
@@ -77,4 +75,3 @@ array(2) {
[1]=>
string(5) "name1"
}
-===DONE===
diff --git a/ext/dba/tests/dba_sync.phpt b/ext/dba/tests/dba_sync.phpt
index 5c123a2647..8ca7606626 100644
--- a/ext/dba/tests/dba_sync.phpt
+++ b/ext/dba/tests/dba_sync.phpt
@@ -30,8 +30,6 @@ if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) {
}
?>
-===DONE===
-<?php exit(0); ?>
--CLEAN--
<?php
require(__DIR__ .'/clean.inc');
@@ -40,4 +38,3 @@ if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) {
database handler: flatfile
2YY
bool(true)
-===DONE===
diff --git a/ext/dba/tests/dba_tcadb.phpt b/ext/dba/tests/dba_tcadb.phpt
index 04246a29f3..7464d2d659 100644
--- a/ext/dba/tests/dba_tcadb.phpt
+++ b/ext/dba/tests/dba_tcadb.phpt
@@ -13,7 +13,6 @@ DBA TCADB handler test
@unlink($db_filename.'.lck');
require_once __DIR__ .'/dba_handler.inc';
?>
-===DONE===
--CLEAN--
<?php
$db_filename = $db_file = __DIR__ .'/test0.tch';
@@ -55,4 +54,3 @@ array(3) {
["key5"]=>
string(23) "The last content string"
}
-===DONE===