~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to ext/dba/tests/dba_qdbm.phpt

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--TEST--
 
2
DBA QDBM handler test
 
3
--SKIPIF--
 
4
<?php
 
5
        $handler = 'qdbm';
 
6
        require_once('skipif.inc');
 
7
?>
 
8
--FILE--
 
9
<?php
 
10
        $handler = 'qdbm';
 
11
        require_once('test.inc');
 
12
        $lock_flag = ''; // lock in library
 
13
        require_once('dba_handler.inc');
 
14
?>
 
15
===DONE===
 
16
--EXPECTF--
 
17
database handler: qdbm
 
18
3NYNYY
 
19
Content String 2
 
20
Content 2 replaced
 
21
Read during write:%sallowed
 
22
Content 2 replaced 2nd time
 
23
The 6th value
 
24
array(3) {
 
25
  ["key number 6"]=>
 
26
  string(13) "The 6th value"
 
27
  ["key2"]=>
 
28
  string(27) "Content 2 replaced 2nd time"
 
29
  ["key5"]=>
 
30
  string(23) "The last content string"
 
31
}
 
32
 
 
33
Warning: dba_popen(%stest0.dbm,r-): Locking cannot be disabled for handler qdbm in %sdba_handler.inc on line %d
 
34
===DONE===