diff options
| author | Marcus Boerger <helly@php.net> | 2002-11-06 04:16:18 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2002-11-06 04:16:18 +0000 |
| commit | 4be50925ad2077cb8ea77495204a92aabb7ff93f (patch) | |
| tree | ae78c5aa7bfa65c35a37e0f04845b8da8f2ecbbb /ext/dba/tests | |
| parent | 5d9563df567405bd60a314591274f2cbb466c116 (diff) | |
| download | php-git-4be50925ad2077cb8ea77495204a92aabb7ff93f.tar.gz | |
move newly introduced flatfile support from dbm to new flatfile handler
# do not make the same mistake as with ext/db where it was not clear
# which format was used.
Diffstat (limited to 'ext/dba/tests')
| -rw-r--r-- | ext/dba/tests/dba_flatfile.phpt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ext/dba/tests/dba_flatfile.phpt b/ext/dba/tests/dba_flatfile.phpt new file mode 100644 index 0000000000..33304e72fb --- /dev/null +++ b/ext/dba/tests/dba_flatfile.phpt @@ -0,0 +1,18 @@ +--TEST-- +DBA FlatFile handler test +--SKIPIF-- +<?php + require_once('skipif.inc'); + if (!in_array('flatfile', dba_handlers())) die('skip FlatFile handler not available'); +?> +--FILE-- +<?php + require_once('test.inc'); + $handler = 'flatfile'; + require_once('dba_handler.inc'); +?> +--EXPECT-- +database handler: flatfile +3NYNYY +Content String 2 +Content 2 replaced |
