-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 24 October 2002 12:06, Stephan Harren wrote:
> Does anybody know why DBD:PG make test fails the 04execute test,
> tests 5-7 ?
>
> Using
> Linux 2.4.18
> DBI 1.20
> DBD::Pg 1.13
> postgresql-7.2.3
>
It is a bug in the 04execute.t file. It has:
eval {
sql
}
if ($@) {
ok
} else {
not ok
}
Which is wrong. $@ is defined and contains the error message if the
eval() fails; the test was not concluded successfully if that happens.
The tests succeed if they're run using psql client.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9uANznksV4Ys/z5gRAtClAJ0SrqF2/Lfc+TokXtuxbIeTbtSf9gCfcbFg
xcW1y/eJeLpMH8DEmtfgAB4=
=Q0y3
-----END PGP SIGNATURE-----