Subject: | make test 06bytea.t fails |
Hi,
This error affects DBD-Pg 1.43
$ perl Makefile.PL
Configuring DBD::Pg 1.43
Remember to actually read the README file!
OS: linux
PostgreSQL version: 70408
Checking if your kit is complete...
Looks good
Using DBI 1.48 (for perl 5.008007 on i386-linux-thread-multi) installed in /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::Pg
$ make
... (runs to completion)
$ export DBI_DSN=dbi:Pg:dbname=test
$ export DBI_USER=<user>
$ export DBI_PASS=<user>
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00basic...........ok
t/01connect.........ok 1/8#
# Program Version
# Perl 5.8.7 (linux)
# DBD::Pg 1.43
# PostgreSQL (compiled) 70408
# PostgreSQL (target) 70408
# PostgreSQL (reported) PostgreSQL 7.4.8 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
# DBI 1.48
# DBI_DSN dbi:Pg:dbname=test
t/01connect.........ok
t/01constants.......ok
t/01setup...........ok
t/02attribs.........ok
t/03dbmethod........ok
t/03smethod.........ok
2/52 skipped: Not testing pg_server_prepare on 7.4-compiled servers
t/04misc............ok
t/05arrays..........ok
15/17 skipped: Array support not implemented
t/06bytea...........NOK 2
# Failed test (t/06bytea.t at line 30)
# Looks like you failed 1 test of 3.
t/06bytea...........dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
Failed 1/3 tests, 66.67% okay
t/07copy............ok
t/12placeholders....ok
t/20savepoints......ok
2/4 skipped: Cannot test savepoints on pre-8.0 servers
t/99_pod............ok
t/99cleanup.........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------t/06bytea.t 1 256 3 1 33.33% 2
19 subtests skipped.
Failed 1/15 test scripts, 93.33% okay. 1/418 subtests failed, 99.76% okay.
make: *** [test_dynamic] Error 255
$ uname -a
Linux localhost.localdomain 2.6.10-1.771_FC2 #1 Mon Mar 28 00:50:14 EST 2005 i686 i686 i386 GNU/Linux
--------
This is with Postgres 7.4.8 installed.
Note also that DBD-Pg 1.42 compiles and installs fully, with the 1.42 release 06bytea.t test running correctly.