summaryrefslogtreecommitdiff
path: root/ext/dba/tests/dba_cdb_make.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dba/tests/dba_cdb_make.phpt')
-rw-r--r--ext/dba/tests/dba_cdb_make.phpt8
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/dba/tests/dba_cdb_make.phpt b/ext/dba/tests/dba_cdb_make.phpt
index 6691d0a28..c1d0a0188 100644
--- a/ext/dba/tests/dba_cdb_make.phpt
+++ b/ext/dba/tests/dba_cdb_make.phpt
@@ -5,13 +5,13 @@ magic_quotes_runtime=1
--SKIPIF--
<?php
$handler = 'cdb_make';
- require_once dirname(__FILE__) .'/skipif.inc';
+ require_once(dirname(__FILE__) .'/skipif.inc');
die('info CDB_MAKE does not support reading');
?>
--FILE--
<?php
$handler = 'cdb_make';
- require_once dirname(__FILE__) .'/test.inc';
+ require_once(dirname(__FILE__) .'/test.inc');
echo "database handler: $handler\n";
// print md5 checksum of test.cdb which is generated by cdb_make program
var_dump(md5_file(dirname(__FILE__).'/test.cdb'));
@@ -32,6 +32,10 @@ magic_quotes_runtime=1
echo "Error creating database\n";
}
?>
+--CLEAN--
+<?php
+ require(dirname(__FILE__) .'/clean.inc');
+?>
--EXPECT--
Warning: Directive 'magic_quotes_runtime' is deprecated in PHP 5.3 and greater in Unknown on line 0
database handler: cdb_make