Annotation of embedaddon/php/ext/dba/tests/dba016.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: DBA lock modifier error message test
3: --SKIPIF--
4: <?php
5: $handler = "flatfile";
6: require_once(dirname(__FILE__) .'/skipif.inc');
7: ?>
8: --FILE--
9: <?php
10:
11: $handler = "flatfile";
12: require_once(dirname(__FILE__) .'/test.inc');
13: echo "database handler: $handler\n";
14:
15: $db_file1 = dba_popen($db_filename, 'n-t', 'flatfile');
16:
17: ?>
18: ===DONE===
19: --EXPECTF--
20: database handler: flatfile
21:
22: Warning: dba_popen(%stest0.dbm,n-t): You cannot combine modifiers - (no lock) and t (test lock) in %sdba016.php on line %d
23: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>