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