summaryrefslogtreecommitdiff
path: root/ext/dba
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-14 17:45:48 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-14 19:45:12 +0200
commit782352c54ad69c517e3c32b0dd2c25d74842647a (patch)
tree220bdc1e814e9f44b3578d49b3f239a3fdefa1d0 /ext/dba
parent604d4bdae5037e021c1f9d35f08cbeddd610d84c (diff)
downloadphp-git-782352c54ad69c517e3c32b0dd2c25d74842647a.tar.gz
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/dba')
-rw-r--r--ext/dba/tests/bug36436.phpt6
-rw-r--r--ext/dba/tests/bug38698.phpt2
-rw-r--r--ext/dba/tests/bug48240.phpt6
-rw-r--r--ext/dba/tests/bug49125.phpt6
-rw-r--r--ext/dba/tests/bug62490.phpt2
-rw-r--r--ext/dba/tests/bug65708.phpt6
-rw-r--r--ext/dba/tests/bug72157.phpt2
-rw-r--r--ext/dba/tests/bug72885.phpt2
-rw-r--r--ext/dba/tests/dba001.phpt6
-rw-r--r--ext/dba/tests/dba002.phpt6
-rw-r--r--ext/dba/tests/dba003.phpt6
-rw-r--r--ext/dba/tests/dba004.phpt6
-rw-r--r--ext/dba/tests/dba005.phpt6
-rw-r--r--ext/dba/tests/dba006.phpt6
-rw-r--r--ext/dba/tests/dba007.phpt10
-rw-r--r--ext/dba/tests/dba009.phpt6
-rw-r--r--ext/dba/tests/dba010.phpt6
-rw-r--r--ext/dba/tests/dba011.phpt6
-rw-r--r--ext/dba/tests/dba012.phpt6
-rw-r--r--ext/dba/tests/dba013.phpt6
-rw-r--r--ext/dba/tests/dba014.phpt6
-rw-r--r--ext/dba/tests/dba015.phpt6
-rw-r--r--ext/dba/tests/dba016.phpt6
-rw-r--r--ext/dba/tests/dba_cdb.phpt6
-rw-r--r--ext/dba/tests/dba_cdb_001.phpt6
-rw-r--r--ext/dba/tests/dba_cdb_make.phpt6
-rw-r--r--ext/dba/tests/dba_cdb_read.phpt4
-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.phpt6
-rw-r--r--ext/dba/tests/dba_db4_001.phpt6
-rw-r--r--ext/dba/tests/dba_db4_002.phpt6
-rw-r--r--ext/dba/tests/dba_db4_003.phpt6
-rw-r--r--ext/dba/tests/dba_db4_004.phpt6
-rw-r--r--ext/dba/tests/dba_db4_005.phpt6
-rw-r--r--ext/dba/tests/dba_db4_006.phpt6
-rw-r--r--ext/dba/tests/dba_db4_007.phpt6
-rw-r--r--ext/dba/tests/dba_db4_008.phpt6
-rw-r--r--ext/dba/tests/dba_db4_009.phpt10
-rw-r--r--ext/dba/tests/dba_db4_011.phpt6
-rw-r--r--ext/dba/tests/dba_db4_012.phpt6
-rw-r--r--ext/dba/tests/dba_db4_013.phpt6
-rw-r--r--ext/dba/tests/dba_db4_014.phpt6
-rw-r--r--ext/dba/tests/dba_db4_015.phpt6
-rw-r--r--ext/dba/tests/dba_db4_016.phpt6
-rw-r--r--ext/dba/tests/dba_db4_017.phpt6
-rw-r--r--ext/dba/tests/dba_db4_018.phpt6
-rw-r--r--ext/dba/tests/dba_db4_handlers.phpt6
-rw-r--r--ext/dba/tests/dba_db4_optimize.phpt4
-rw-r--r--ext/dba/tests/dba_db4_sync.phpt4
-rw-r--r--ext/dba/tests/dba_dbm.phpt6
-rw-r--r--ext/dba/tests/dba_flatfile.phpt6
-rw-r--r--ext/dba/tests/dba_gdbm.phpt4
-rw-r--r--ext/dba/tests/dba_handlers.phpt6
-rw-r--r--ext/dba/tests/dba_inifile.phpt6
-rw-r--r--ext/dba/tests/dba_ndbm.phpt2
-rw-r--r--ext/dba/tests/dba_optimize.phpt4
-rw-r--r--ext/dba/tests/dba_qdbm.phpt4
-rw-r--r--ext/dba/tests/dba_sync.phpt4
60 files changed, 161 insertions, 161 deletions
diff --git a/ext/dba/tests/bug36436.phpt b/ext/dba/tests/bug36436.phpt
index 19254df3c7..40cc5283cd 100644
--- a/ext/dba/tests/bug36436.phpt
+++ b/ext/dba/tests/bug36436.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #36436 (DBA problem with Berkeley DB4)
--SKIPIF--
-<?php
+<?php
$handler = 'db4';
require_once(dirname(__FILE__) .'/skipif.inc');
?>
@@ -26,8 +26,8 @@ dba_close($db);
?>
===DONE===
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
resource(%d) of type (dba persistent)
diff --git a/ext/dba/tests/bug38698.phpt b/ext/dba/tests/bug38698.phpt
index 1d1ed674fe..254d3e37c6 100644
--- a/ext/dba/tests/bug38698.phpt
+++ b/ext/dba/tests/bug38698.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #38698 (Bug #38698 for some keys cdbmake creates corrupted db and cdb can't read valid db)
--SKIPIF--
-<?php
+<?php
$handler = 'cdb_make';
require_once(dirname(__FILE__) .'/skipif.inc');
?>
diff --git a/ext/dba/tests/bug48240.phpt b/ext/dba/tests/bug48240.phpt
index 5a72073f36..547c7a9ccc 100644
--- a/ext/dba/tests/bug48240.phpt
+++ b/ext/dba/tests/bug48240.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #48240 (DBA Segmentation fault dba_nextkey)
--SKIPIF--
-<?php
+<?php
$handler = 'db4';
require_once(dirname(__FILE__) .'/skipif.inc');
?>
@@ -20,8 +20,8 @@ dba_close($db);
?>
===DONE===
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
bool(false)
diff --git a/ext/dba/tests/bug49125.phpt b/ext/dba/tests/bug49125.phpt
index e06495a109..c1ecc50846 100644
--- a/ext/dba/tests/bug49125.phpt
+++ b/ext/dba/tests/bug49125.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #49125 (Error in dba_exists C code)
--SKIPIF--
-<?php
+<?php
$handler = 'db4';
require_once(dirname(__FILE__) .'/skipif.inc');
?>
@@ -23,8 +23,8 @@ dba_close($db);
?>
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
bool(true)
diff --git a/ext/dba/tests/bug62490.phpt b/ext/dba/tests/bug62490.phpt
index 325dd34554..41a9cdead7 100644
--- a/ext/dba/tests/bug62490.phpt
+++ b/ext/dba/tests/bug62490.phpt
@@ -29,7 +29,7 @@ var_dump(dba_delete("a", $dba));
?>
===DONE===
--CLEAN--
-<?php
+<?php
include "clean.inc";
?>
--EXPECT--
diff --git a/ext/dba/tests/bug65708.phpt b/ext/dba/tests/bug65708.phpt
index b77138f6ed..ede2511c9e 100644
--- a/ext/dba/tests/bug65708.phpt
+++ b/ext/dba/tests/bug65708.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #65708 (dba functions cast $key param to string in-place, bypassing copy on write)
--SKIPIF--
-<?php
+<?php
require_once(dirname(__FILE__) .'/skipif.inc');
?>
--FILE--
@@ -28,8 +28,8 @@ dba_close($db);
?>
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
integer
diff --git a/ext/dba/tests/bug72157.phpt b/ext/dba/tests/bug72157.phpt
index 7b3217012a..3443f4bb40 100644
--- a/ext/dba/tests/bug72157.phpt
+++ b/ext/dba/tests/bug72157.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #72157 (use-after-free caused by dba_open)
--SKIPIF--
-<?php
+<?php
require_once(dirname(__FILE__) .'/skipif.inc');
?>
--FILE--
diff --git a/ext/dba/tests/bug72885.phpt b/ext/dba/tests/bug72885.phpt
index eb6777841e..bef95fd5c8 100644
--- a/ext/dba/tests/bug72885.phpt
+++ b/ext/dba/tests/bug72885.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #72885 flatfile: dba_fetch() fails to read replaced entry
--SKIPIF--
-<?php
+<?php
$handler = "flatfile";
require_once(dirname(__FILE__) .'/skipif.inc');
?>
diff --git a/ext/dba/tests/dba001.phpt b/ext/dba/tests/dba001.phpt
index b63829abbf..e5a8f58f85 100644
--- a/ext/dba/tests/dba001.phpt
+++ b/ext/dba/tests/dba001.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA File Creation Test
--SKIPIF--
-<?php
+<?php
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
?>
@@ -17,8 +17,8 @@ DBA File Creation Test
}
?>
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: %s
diff --git a/ext/dba/tests/dba002.phpt b/ext/dba/tests/dba002.phpt
index e60e733603..051c51b9b5 100644
--- a/ext/dba/tests/dba002.phpt
+++ b/ext/dba/tests/dba002.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA Insert/Fetch Test
--SKIPIF--
-<?php
+<?php
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
?>
@@ -18,8 +18,8 @@ DBA Insert/Fetch Test
}
?>
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: %s
diff --git a/ext/dba/tests/dba003.phpt b/ext/dba/tests/dba003.phpt
index a027b5356e..6d1e26bfac 100644
--- a/ext/dba/tests/dba003.phpt
+++ b/ext/dba/tests/dba003.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA Insert/Replace/Fetch Test
--SKIPIF--
-<?php
+<?php
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
?>
@@ -20,8 +20,8 @@ DBA Insert/Replace/Fetch Test
}
?>
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: %s
diff --git a/ext/dba/tests/dba004.phpt b/ext/dba/tests/dba004.phpt
index 6e7180cf66..69bc717ea4 100644
--- a/ext/dba/tests/dba004.phpt
+++ b/ext/dba/tests/dba004.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA Multiple Insert/Fetch Test
--SKIPIF--
-<?php
+<?php
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
?>
@@ -24,8 +24,8 @@ DBA Multiple Insert/Fetch Test
}
?>
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: %s
diff --git a/ext/dba/tests/dba005.phpt b/ext/dba/tests/dba005.phpt
index 68ad600220..4e43beab19 100644
--- a/ext/dba/tests/dba005.phpt
+++ b/ext/dba/tests/dba005.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA FirstKey/NextKey Loop Test With 5 Items
--SKIPIF--
-<?php
+<?php
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
?>
@@ -31,8 +31,8 @@ DBA FirstKey/NextKey Loop Test With 5 Items
}
?>
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: %s
diff --git a/ext/dba/tests/dba006.phpt b/ext/dba/tests/dba006.phpt
index a3fc738fac..7f359a2fd8 100644
--- a/ext/dba/tests/dba006.phpt
+++ b/ext/dba/tests/dba006.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA FirstKey/NextKey with 2 deletes
--SKIPIF--
-<?php
+<?php
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
?>
@@ -33,8 +33,8 @@ DBA FirstKey/NextKey with 2 deletes
}
?>
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: %s
diff --git a/ext/dba/tests/dba007.phpt b/ext/dba/tests/dba007.phpt
index 2519fdc597..fbd78212f2 100644
--- a/ext/dba/tests/dba007.phpt
+++ b/ext/dba/tests/dba007.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA Multiple File Creation Test
--SKIPIF--
-<?php
+<?php
require_once(dirname(__FILE__) .'/skipif.inc');
if (!function_exists('dba_list')) die('skip dba_list() not available');
die("info $HND handler used");
@@ -10,8 +10,8 @@ DBA Multiple File Creation Test
<?php
require_once(dirname(__FILE__) .'/test.inc');
echo "database handler: $handler\n";
- $db_file1 = $db_filename1 = dirname(__FILE__).'/test1.dbm';
- $db_file2 = $db_filename2 = dirname(__FILE__).'/test2.dbm';
+ $db_file1 = $db_filename1 = dirname(__FILE__).'/test1.dbm';
+ $db_file2 = $db_filename2 = dirname(__FILE__).'/test2.dbm';
if (($db_file=dba_open($db_file, "n", $handler))!==FALSE) {
echo "database file created\n";
} else {
@@ -34,8 +34,8 @@ DBA Multiple File Creation Test
@unlink($db_filename2);
?>
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: %s
diff --git a/ext/dba/tests/dba009.phpt b/ext/dba/tests/dba009.phpt
index 698657b2a3..3da48b0cc7 100644
--- a/ext/dba/tests/dba009.phpt
+++ b/ext/dba/tests/dba009.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA dba_popen Test
--SKIPIF--
-<?php
+<?php
require_once(dirname(__FILE__) .'/skipif.inc');
print("info $HND handler used");
?>
@@ -25,8 +25,8 @@ DBA dba_popen Test
}
?>
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: %s
diff --git a/ext/dba/tests/dba010.phpt b/ext/dba/tests/dba010.phpt
index c818373f1f..d411c56adb 100644
--- a/ext/dba/tests/dba010.phpt
+++ b/ext/dba/tests/dba010.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA with array keys
--SKIPIF--
-<?php
+<?php
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
?>
@@ -36,8 +36,8 @@ if (($db_file=dba_open($db_file, "n", $handler))!==FALSE) {
?>
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: %s
diff --git a/ext/dba/tests/dba011.phpt b/ext/dba/tests/dba011.phpt
index 71164be3c5..0891a30f48 100644
--- a/ext/dba/tests/dba011.phpt
+++ b/ext/dba/tests/dba011.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA argument tests
--SKIPIF--
-<?php
+<?php
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
?>
@@ -17,8 +17,8 @@ var_dump(dba_open($db_file, 'nq', $handler));
var_dump(dba_open($db_file, 'n', $handler, 2, 3, 4, 5, 6, 7, 8));
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: flatfile
diff --git a/ext/dba/tests/dba012.phpt b/ext/dba/tests/dba012.phpt
index 821c4e2aba..612d543249 100644
--- a/ext/dba/tests/dba012.phpt
+++ b/ext/dba/tests/dba012.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA dba.default_handler tests
--SKIPIF--
-<?php
+<?php
$handler = "flatfile";
require_once(dirname(__FILE__) .'/skipif.inc');
?>
@@ -27,8 +27,8 @@ var_dump(dba_open($db_filename, 'n'));
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: flatfile
diff --git a/ext/dba/tests/dba013.phpt b/ext/dba/tests/dba013.phpt
index 8e37b26315..661275c07d 100644
--- a/ext/dba/tests/dba013.phpt
+++ b/ext/dba/tests/dba013.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA with array key with empty array
--SKIPIF--
-<?php
+<?php
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
?>
@@ -18,8 +18,8 @@ if (($db_file=dba_open($db_file, "n", $handler))!==FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: %s
diff --git a/ext/dba/tests/dba014.phpt b/ext/dba/tests/dba014.phpt
index f08fff25d7..799fe830a5 100644
--- a/ext/dba/tests/dba014.phpt
+++ b/ext/dba/tests/dba014.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA with array key with array containing too many elements
--SKIPIF--
-<?php
+<?php
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
?>
@@ -18,8 +18,8 @@ if (($db_file=dba_open($db_file, "n", $handler))!==FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: %s
diff --git a/ext/dba/tests/dba015.phpt b/ext/dba/tests/dba015.phpt
index dbb683dcec..4cd0ea101a 100644
--- a/ext/dba/tests/dba015.phpt
+++ b/ext/dba/tests/dba015.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA with persistent connections
--SKIPIF--
-<?php
+<?php
$handler = "flatfile";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -50,8 +50,8 @@ echo dba_fetch("key2", $db_file1), "\n";
?>
===DONE===
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: flatfile
diff --git a/ext/dba/tests/dba016.phpt b/ext/dba/tests/dba016.phpt
index 7739db4e08..4b0052352a 100644
--- a/ext/dba/tests/dba016.phpt
+++ b/ext/dba/tests/dba016.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA lock modifier error message test
--SKIPIF--
-<?php
+<?php
$handler = "flatfile";
require_once(dirname(__FILE__) .'/skipif.inc');
?>
@@ -17,8 +17,8 @@ $db_file1 = dba_popen($db_filename, 'n-t', 'flatfile');
?>
===DONE===
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: flatfile
diff --git a/ext/dba/tests/dba_cdb.phpt b/ext/dba/tests/dba_cdb.phpt
index b9ef68f2be..998fc41638 100644
--- a/ext/dba/tests/dba_cdb.phpt
+++ b/ext/dba/tests/dba_cdb.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA CDB handler test
--SKIPIF--
-<?php
+<?php
$handler = 'cdb';
require_once(dirname(__FILE__) .'/skipif.inc');
die('info CDB does not support replace or delete');
@@ -14,8 +14,8 @@ DBA CDB handler test
?>
===DONE===
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: cdb
diff --git a/ext/dba/tests/dba_cdb_001.phpt b/ext/dba/tests/dba_cdb_001.phpt
index 4372754384..a0dc438636 100644
--- a/ext/dba/tests/dba_cdb_001.phpt
+++ b/ext/dba/tests/dba_cdb_001.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA CDB handler test
--SKIPIF--
-<?php
+<?php
$handler = 'cdb';
require_once(dirname(__FILE__) .'/skipif.inc');
die('info CDB does not support replace or delete');
@@ -63,8 +63,8 @@ else {
?>
===DONE===
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
Test 0
diff --git a/ext/dba/tests/dba_cdb_make.phpt b/ext/dba/tests/dba_cdb_make.phpt
index 6a5f2dd9c3..0a1fd79b36 100644
--- a/ext/dba/tests/dba_cdb_make.phpt
+++ b/ext/dba/tests/dba_cdb_make.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA CDB_MAKE handler test
--SKIPIF--
-<?php
+<?php
$handler = 'cdb_make';
require_once(dirname(__FILE__) .'/skipif.inc');
die('info CDB_MAKE does not support reading');
@@ -31,8 +31,8 @@ DBA CDB_MAKE handler test
}
?>
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: cdb_make
diff --git a/ext/dba/tests/dba_cdb_read.phpt b/ext/dba/tests/dba_cdb_read.phpt
index a782a572e9..9d65f8b732 100644
--- a/ext/dba/tests/dba_cdb_read.phpt
+++ b/ext/dba/tests/dba_cdb_read.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA CDB handler test (read only)
--SKIPIF--
-<?php
+<?php
$handler = 'cdb_make';
require_once dirname(__FILE__) .'/skipif.inc';
?>
@@ -15,7 +15,7 @@ DBA CDB handler test (read only)
$a = dba_firstkey($db_file);
$count= 0;
$keys = $a;
- while($a) {
+ while($a) {
$a = dba_nextkey($db_file);
$keys .= $a;
$count++;
diff --git a/ext/dba/tests/dba_db1.phpt b/ext/dba/tests/dba_db1.phpt
index d0e530e026..01d96feec5 100644
--- a/ext/dba/tests/dba_db1.phpt
+++ b/ext/dba/tests/dba_db1.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB1 handler test
--SKIPIF--
-<?php
+<?php
$handler = 'db1';
require_once dirname(__FILE__) .'/skipif.inc';
?>
diff --git a/ext/dba/tests/dba_db2.phpt b/ext/dba/tests/dba_db2.phpt
index 1cfbb3e340..09fefb581e 100644
--- a/ext/dba/tests/dba_db2.phpt
+++ b/ext/dba/tests/dba_db2.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB2 handler test
--SKIPIF--
-<?php
+<?php
$handler = 'db2';
require_once dirname(__FILE__) .'/skipif.inc';
?>
diff --git a/ext/dba/tests/dba_db3.phpt b/ext/dba/tests/dba_db3.phpt
index 5de7e5a041..9c78eb3726 100644
--- a/ext/dba/tests/dba_db3.phpt
+++ b/ext/dba/tests/dba_db3.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB3 handler test
--SKIPIF--
-<?php
+<?php
$handler = 'db3';
require_once dirname(__FILE__) .'/skipif.inc';
?>
diff --git a/ext/dba/tests/dba_db4_000.phpt b/ext/dba/tests/dba_db4_000.phpt
index 17db4bb62d..21e4a18394 100644
--- a/ext/dba/tests/dba_db4_000.phpt
+++ b/ext/dba/tests/dba_db4_000.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 handler test
--SKIPIF--
-<?php
+<?php
$handler = 'db4';
require_once(dirname(__FILE__) .'/skipif.inc');
?>
@@ -13,8 +13,8 @@ require_once(dirname(__FILE__) .'/dba_handler.inc');
?>
===DONE===
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_001.phpt b/ext/dba/tests/dba_db4_001.phpt
index 992a900532..73b5da75c3 100644
--- a/ext/dba/tests/dba_db4_001.phpt
+++ b/ext/dba/tests/dba_db4_001.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 New File Creation open("c") & Insert Test
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -23,8 +23,8 @@ if (($db_file = dba_open($db_filename, "c", $handler)) !== FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_002.phpt b/ext/dba/tests/dba_db4_002.phpt
index 9f08311e80..1ab3117b6e 100644
--- a/ext/dba/tests/dba_db4_002.phpt
+++ b/ext/dba/tests/dba_db4_002.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 New File Creation open("n") & Insert Test
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -23,8 +23,8 @@ if (($db_file = dba_open($db_filename, "n", $handler)) !== FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_003.phpt b/ext/dba/tests/dba_db4_003.phpt
index 8708170fc1..5690bd9250 100644
--- a/ext/dba/tests/dba_db4_003.phpt
+++ b/ext/dba/tests/dba_db4_003.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 File Creation open("c") with existing file
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -32,8 +32,8 @@ echo "$s\n";
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_004.phpt b/ext/dba/tests/dba_db4_004.phpt
index 1fdb353e6e..dd89f2d062 100644
--- a/ext/dba/tests/dba_db4_004.phpt
+++ b/ext/dba/tests/dba_db4_004.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 Truncate Existing File open("n")
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -30,8 +30,8 @@ if (($db_file = dba_open($db_filename, "n", $handler)) !== FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_005.phpt b/ext/dba/tests/dba_db4_005.phpt
index ec5f98aed1..f0cf858e9a 100644
--- a/ext/dba/tests/dba_db4_005.phpt
+++ b/ext/dba/tests/dba_db4_005.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 New File Creation popen("c") & Insert Test
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -23,8 +23,8 @@ if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_006.phpt b/ext/dba/tests/dba_db4_006.phpt
index 2a80161d08..7823922a9f 100644
--- a/ext/dba/tests/dba_db4_006.phpt
+++ b/ext/dba/tests/dba_db4_006.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 New File Creation popen("n") & Insert Test
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -23,8 +23,8 @@ if (($db_file = dba_popen($db_filename, "n", $handler)) !== FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_007.phpt b/ext/dba/tests/dba_db4_007.phpt
index 027d0af032..193d2ed341 100644
--- a/ext/dba/tests/dba_db4_007.phpt
+++ b/ext/dba/tests/dba_db4_007.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 File Creation popen("c") with existing invalid file
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -28,8 +28,8 @@ if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_008.phpt b/ext/dba/tests/dba_db4_008.phpt
index 2f7d130750..e5a9467555 100644
--- a/ext/dba/tests/dba_db4_008.phpt
+++ b/ext/dba/tests/dba_db4_008.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 Truncate Existing File popen("n")
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -30,8 +30,8 @@ if (($db_file = dba_popen($db_filename, "n", $handler)) !== FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_009.phpt b/ext/dba/tests/dba_db4_009.phpt
index 5a870c90ed..8069c84bf8 100644
--- a/ext/dba/tests/dba_db4_009.phpt
+++ b/ext/dba/tests/dba_db4_009.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 Multiple File Creation Test
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -11,8 +11,8 @@ die("info $HND handler used");
$handler = "db4";
require_once(dirname(__FILE__) .'/test.inc');
echo "database handler: $handler\n";
-$db_file1 = $db_filename1 = dirname(__FILE__).'/test1.dbm';
-$db_file2 = $db_filename2 = dirname(__FILE__).'/test2.dbm';
+$db_file1 = $db_filename1 = dirname(__FILE__).'/test1.dbm';
+$db_file2 = $db_filename2 = dirname(__FILE__).'/test2.dbm';
if (($db_file=dba_open($db_file, "n", $handler))!==FALSE) {
echo "database file created\n";
} else {
@@ -35,8 +35,8 @@ dba_close($db_file);
@unlink($db_filename2);
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_011.phpt b/ext/dba/tests/dba_db4_011.phpt
index e42e03b7e9..cdd57bc5ca 100644
--- a/ext/dba/tests/dba_db4_011.phpt
+++ b/ext/dba/tests/dba_db4_011.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 with repeated key
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -24,8 +24,8 @@ if (($db_file=dba_open($db_filename, "c", $handler))!==FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_012.phpt b/ext/dba/tests/dba_db4_012.phpt
index 2caa43c84f..e626ba0c11 100644
--- a/ext/dba/tests/dba_db4_012.phpt
+++ b/ext/dba/tests/dba_db4_012.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 New File Creation open("rl")
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -21,8 +21,8 @@ if (($db_file = dba_open($db_filename, "rl", $handler)) !== FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_013.phpt b/ext/dba/tests/dba_db4_013.phpt
index ba2d171dcf..133f90f88a 100644
--- a/ext/dba/tests/dba_db4_013.phpt
+++ b/ext/dba/tests/dba_db4_013.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 File open("rl") & Insert Test
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -29,8 +29,8 @@ if (($db_file = dba_popen($db_filename, "rl", $handler)) !== FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_014.phpt b/ext/dba/tests/dba_db4_014.phpt
index 6fb22f87b3..38d272dd28 100644
--- a/ext/dba/tests/dba_db4_014.phpt
+++ b/ext/dba/tests/dba_db4_014.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 File open("wl") & Insert Test
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -22,8 +22,8 @@ if (($db_file = dba_open($db_filename, "wl", $handler)) !== FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_015.phpt b/ext/dba/tests/dba_db4_015.phpt
index 163828203d..0bd79ed7f5 100644
--- a/ext/dba/tests/dba_db4_015.phpt
+++ b/ext/dba/tests/dba_db4_015.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 File open("wl") & Insert Test
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -29,8 +29,8 @@ if (($db_file = dba_popen($db_filename, "wl", $handler)) !== FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_016.phpt b/ext/dba/tests/dba_db4_016.phpt
index 4e97819a59..618fc868e5 100644
--- a/ext/dba/tests/dba_db4_016.phpt
+++ b/ext/dba/tests/dba_db4_016.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 File Creation popen("c") with existing valid file
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -44,8 +44,8 @@ if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_017.phpt b/ext/dba/tests/dba_db4_017.phpt
index 2f9469299b..8a2dbdd9ff 100644
--- a/ext/dba/tests/dba_db4_017.phpt
+++ b/ext/dba/tests/dba_db4_017.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 file creation dba_open("cd")
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
?>
@@ -27,8 +27,8 @@ if (($db_file = dba_open($db_filename, "cd", $handler)) !== FALSE) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_018.phpt b/ext/dba/tests/dba_db4_018.phpt
index ecd1980e46..fb696e9f5f 100644
--- a/ext/dba/tests/dba_db4_018.phpt
+++ b/ext/dba/tests/dba_db4_018.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 with persistent connections
--SKIPIF--
-<?php
+<?php
$handler = "db4";
require_once(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -50,8 +50,8 @@ echo dba_fetch("key2", $db_file1), "\n";
?>
===DONE===
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--XFAIL--
Test 6 crashes with dba pointer of NULL, bug http://bugs.php.net/bug.php?id=51278
diff --git a/ext/dba/tests/dba_db4_handlers.phpt b/ext/dba/tests/dba_db4_handlers.phpt
index d238f431a4..41c397bdf4 100644
--- a/ext/dba/tests/dba_db4_handlers.phpt
+++ b/ext/dba/tests/dba_db4_handlers.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DB4 Handler Test
--SKIPIF--
-<?php
+<?php
$handler="db4";
require(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -39,8 +39,8 @@ foreach ($h as $key => $val) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTREGEX--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_optimize.phpt b/ext/dba/tests/dba_db4_optimize.phpt
index d090f495bd..e8b5d6bb65 100644
--- a/ext/dba/tests/dba_db4_optimize.phpt
+++ b/ext/dba/tests/dba_db4_optimize.phpt
@@ -28,8 +28,8 @@ if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) {
===DONE===
<?php exit(0); ?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: db4
diff --git a/ext/dba/tests/dba_db4_sync.phpt b/ext/dba/tests/dba_db4_sync.phpt
index 5fb4728fbf..a72aed4e71 100644
--- a/ext/dba/tests/dba_db4_sync.phpt
+++ b/ext/dba/tests/dba_db4_sync.phpt
@@ -28,8 +28,8 @@ if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) {
===DONE===
<?php exit(0); ?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: db4
diff --git a/ext/dba/tests/dba_dbm.phpt b/ext/dba/tests/dba_dbm.phpt
index fd7643414f..26ea91f9f2 100644
--- a/ext/dba/tests/dba_dbm.phpt
+++ b/ext/dba/tests/dba_dbm.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA DBM handler test
--SKIPIF--
-<?php
+<?php
$handler = 'dbm';
require_once dirname(__FILE__) .'/skipif.inc';
?>
@@ -13,8 +13,8 @@ DBA DBM handler test
?>
===DONE===
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: dbm
diff --git a/ext/dba/tests/dba_flatfile.phpt b/ext/dba/tests/dba_flatfile.phpt
index ac7f86ebda..c6064239c6 100644
--- a/ext/dba/tests/dba_flatfile.phpt
+++ b/ext/dba/tests/dba_flatfile.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA FlatFile handler test
--SKIPIF--
-<?php
+<?php
$handler = 'flatfile';
require_once(dirname(__FILE__) .'/skipif.inc');
?>
@@ -13,8 +13,8 @@ DBA FlatFile handler test
?>
===DONE===
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: flatfile
diff --git a/ext/dba/tests/dba_gdbm.phpt b/ext/dba/tests/dba_gdbm.phpt
index d8fde4b628..18ee455e4d 100644
--- a/ext/dba/tests/dba_gdbm.phpt
+++ b/ext/dba/tests/dba_gdbm.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA GDBM handler test
--SKIPIF--
-<?php
+<?php
$handler = 'gdbm';
require_once dirname(__FILE__) .'/skipif.inc';
?>
@@ -11,7 +11,7 @@ DBA GDBM handler test
require_once dirname(__FILE__) .'/test.inc';
$lock_flag = ''; // lock in library
require_once dirname(__FILE__) .'/dba_handler.inc';
-
+
// Read during write is system dependent. Important is that there is no deadlock
?>
===DONE===
diff --git a/ext/dba/tests/dba_handlers.phpt b/ext/dba/tests/dba_handlers.phpt
index 9f66a79f27..41c23b5cf6 100644
--- a/ext/dba/tests/dba_handlers.phpt
+++ b/ext/dba/tests/dba_handlers.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA Handler Test
--SKIPIF--
-<?php
+<?php
$handler="flatfile";
require(dirname(__FILE__) .'/skipif.inc');
die("info $HND handler used");
@@ -51,8 +51,8 @@ foreach ($h as $key => $val) {
?>
--CLEAN--
-<?php
-require(dirname(__FILE__) .'/clean.inc');
+<?php
+require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: flatfile
diff --git a/ext/dba/tests/dba_inifile.phpt b/ext/dba/tests/dba_inifile.phpt
index ae06aee09f..ad7b72a82d 100644
--- a/ext/dba/tests/dba_inifile.phpt
+++ b/ext/dba/tests/dba_inifile.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA INIFILE handler test
--SKIPIF--
-<?php
+<?php
$handler = 'inifile';
require_once dirname(__FILE__) .'/skipif.inc';
?>
@@ -13,8 +13,8 @@ DBA INIFILE handler test
?>
===DONE===
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECT--
database handler: inifile
diff --git a/ext/dba/tests/dba_ndbm.phpt b/ext/dba/tests/dba_ndbm.phpt
index 193db6f94d..a3478862eb 100644
--- a/ext/dba/tests/dba_ndbm.phpt
+++ b/ext/dba/tests/dba_ndbm.phpt
@@ -1,7 +1,7 @@
--TEST--
DBA NDBM handler test
--SKIPIF--
-<?php
+<?php
$handler = 'ndbm';
require_once dirname(__FILE__) .'/skipif.inc';
?>
diff --git a/ext/dba/tests/dba_optimize.phpt b/ext/dba/tests/dba_optimize.phpt
index 794d7e8f79..6347d4983c 100644
--- a/ext/dba/tests/dba_optimize.phpt
+++ b/ext/dba/tests/dba_optimize.phpt
@@ -35,8 +35,8 @@ if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) {
===DONE===
<?php exit(0); ?>
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: flatfile
diff --git a/ext/dba/tests/dba_qdbm.phpt b/ext/dba/tests/dba_qdbm.phpt
index 13e10594ef..45fed53824 100644
--- a/ext/dba/tests/dba_qdbm.phpt
+++ b/ext/dba/tests/dba_qdbm.phpt
@@ -14,8 +14,8 @@ DBA QDBM handler test
?>
===DONE===
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: qdbm
diff --git a/ext/dba/tests/dba_sync.phpt b/ext/dba/tests/dba_sync.phpt
index e0906eeeef..0e64ea2905 100644
--- a/ext/dba/tests/dba_sync.phpt
+++ b/ext/dba/tests/dba_sync.phpt
@@ -35,8 +35,8 @@ if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) {
===DONE===
<?php exit(0); ?>
--CLEAN--
-<?php
- require(dirname(__FILE__) .'/clean.inc');
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
?>
--EXPECTF--
database handler: flatfile