diff options
| author | Marcus Boerger <helly@php.net> | 2002-11-14 20:30:53 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2002-11-14 20:30:53 +0000 |
| commit | 8579756c05cdd5e38658734033bbe12250df8c6d (patch) | |
| tree | 44e22a225cccf81c19c53426b52aa6c5e2d4c5ae /ext/pgsql/tests | |
| parent | 6048db900595538a2515796e02164afdecec527a (diff) | |
| download | php-git-8579756c05cdd5e38658734033bbe12250df8c6d.tar.gz | |
Test for bug #14383
Diffstat (limited to 'ext/pgsql/tests')
| -rw-r--r-- | ext/pgsql/tests/80_bug14383.phpt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ext/pgsql/tests/80_bug14383.phpt b/ext/pgsql/tests/80_bug14383.phpt new file mode 100644 index 0000000000..c60e11c19a --- /dev/null +++ b/ext/pgsql/tests/80_bug14383.phpt @@ -0,0 +1,37 @@ +--TEST-- +Bug #14383 +--SKIPIF-- +<?php +require_once(dirname(__FILE__).'/../../dba/tests/skipif.inc'); +require_once('skipif.inc'); +?> +--FILE-- +<?php +require_once('config.inc'); + +$dbh = @pg_connect($conn_str); +if (!$dbh) { + die ("Could not connect to the server"); +} +pg_close($dbh); + +require_once(dirname(__FILE__).'/../../dba/tests/test.inc'); +require_once(dirname(__FILE__).'/../../dba/tests/dba_handler.inc'); + +?> +--EXPECTF-- +database handler: %s +3NYNYY +Content String 2 +Content 2 replaced +Read during write:%sallowed +Content 2 replaced 2nd time +The 6th value +array(3) { + ["key number 6"]=> + string(13) "The 6th value" + ["key2"]=> + string(27) "Content 2 replaced 2nd time" + ["key5"]=> + string(23) "The last content string" +}
\ No newline at end of file |
