diff options
| author | Marcus Boerger <helly@php.net> | 2002-11-14 14:32:39 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2002-11-14 14:32:39 +0000 |
| commit | 5ec93757603c4ae57b7d9e2f9eda3ae9248e7e13 (patch) | |
| tree | eed40bad796877ac8deaa391cc42e2a18d04a3dd /ext/dba/tests/dba_gdbm.phpt | |
| parent | 4e859353865d28a5765e1d762d4476d5617ec887 (diff) | |
| download | php-git-5ec93757603c4ae57b7d9e2f9eda3ae9248e7e13.tar.gz | |
Fix locking behaviour: On some systems read during write is permitted but
most libraries are not capable of that. GDBM is system dependant so there
we only test that we do not deadlock.
Diffstat (limited to 'ext/dba/tests/dba_gdbm.phpt')
| -rw-r--r-- | ext/dba/tests/dba_gdbm.phpt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/dba/tests/dba_gdbm.phpt b/ext/dba/tests/dba_gdbm.phpt index 11e267d650..c7eb5f9978 100644 --- a/ext/dba/tests/dba_gdbm.phpt +++ b/ext/dba/tests/dba_gdbm.phpt @@ -11,13 +11,15 @@ DBA GDBM handler test $handler = 'gdbm'; $lock_flag = ''; // lock in library require_once('dba_handler.inc'); + + // Read during write is system dependant. Important is that there is no deadlock ?> ---EXPECT-- +--EXPECTF-- database handler: gdbm 3NYNYY Content String 2 Content 2 replaced -Read during write permitted +Read during write:%sallowed Content 2 replaced 2nd time The 6th value array(3) { |
