From: Ludovico Magnocavallo Date: Tue, 19 Mar 2002 16:52:41 +0000 (+0000) Subject: Fixed include of interbase.inc X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~1225 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ebf422685f754aba884b77a002669a5c2e5d3a0;p=php Fixed include of interbase.inc Fixed test database path Changed v_date field in test table definition to timestamp type Reduced maximum length of double precision type to 18 Tests 001 002 003 006 pass Test 004 (BLOB test) still needs to be fixed Test 005 (Transaction) gives the right output but issues a warning --- diff --git a/ext/interbase/tests/001.phpt b/ext/interbase/tests/001.phpt index 79263d6f5c..6d221d04c0 100644 --- a/ext/interbase/tests/001.phpt +++ b/ext/interbase/tests/001.phpt @@ -8,7 +8,9 @@ InterBase: create test database &1"); + // passthru gives us some output, allowing the test to pass + // (actually, it passes after the first run when the db gets deleted/recreated) + passthru("isql -i $name 2>&1"); unlink($name); ?> --EXPECT-- - +Use CONNECT or CREATE DATABASE to specify a database +Database: "ext/interbase/tests/ibase_test.tmp" diff --git a/ext/interbase/tests/002.phpt b/ext/interbase/tests/002.phpt index 6ea1b498ba..d240e82e81 100644 --- a/ext/interbase/tests/002.phpt +++ b/ext/interbase/tests/002.phpt @@ -8,9 +8,9 @@ InterBase: connect, close and pconnect V_CHAR,0,strlen($v_char)) != $v_char){ echo " CHAR fail:\n"; diff --git a/ext/interbase/tests/004.phpt b/ext/interbase/tests/004.phpt index 04df7ae991..01e18e1a50 100644 --- a/ext/interbase/tests/004.phpt +++ b/ext/interbase/tests/004.phpt @@ -8,9 +8,9 @@ InterBase: BLOB test