]> granicus.if.org Git - php/commitdiff
missing
authorMarcus Boerger <helly@php.net>
Sun, 3 Nov 2002 20:17:00 +0000 (20:17 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 3 Nov 2002 20:17:00 +0000 (20:17 +0000)
ext/dba/tests/dba_dbm.phpt [new file with mode: 0644]

diff --git a/ext/dba/tests/dba_dbm.phpt b/ext/dba/tests/dba_dbm.phpt
new file mode 100644 (file)
index 0000000..59c1e4f
--- /dev/null
@@ -0,0 +1,18 @@
+--TEST--
+DBA DBM handler test
+--SKIPIF--
+<?php 
+       require_once('skipif.inc');
+       if (!in_array('dbm', dba_handlers())) die('skip DBM handler not available');
+?>
+--FILE--
+<?php
+       require_once('test.inc');
+       $handler = 'dbm';
+       require_once('dba_handler.inc');
+?>
+--EXPECT--
+database handler: dbm
+3NYNYY
+Content String 2
+Content 2 replaced