On 10/29/2012 11:22 AM, Xavier wrote:
> dh_auto_test fails on my PC but works with pbuilder. When I remove
> initdb, tests are skipped so it works.
> I've just take a look at PostgreSQL log. It reports that the
> username(postgres) and the authenticated username(xavier) doesn't match.

Which log file did you look at? The test suite creates its own cluster
and should connect to that.

> ---8<---
> make[1]: quittant le répertoire « /tmp/t/libdbd-pg-perl-2.19.2 »
>    dh_auto_test
> make[1]: entrant dans le répertoire « /tmp/t/libdbd-pg-perl-2.19.2 »
> PGINITDB="/usr/lib/postgresql/9.1/bin/initdb" PERL_DL_NONLAZY=1
> /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
> 'blib/lib', 'blib/arch')" t/*.t
> t/00_signature.t .... skipped: Set the environment variable
> TEST_SIGNATURE to enable this test
> t/00basic.t ......... ok
> Please wait, creating new database for testing
> 
> #   Failed test 'Connect with invalid option fails'
> #   at t/01connect.t line 79.
> #                   ''
> #     doesn't match '(?^:DBI connect.+failed:)'
[...]
> # Looks like you failed 1 test of 15.
> t/01connect.t .......
> Dubious, test returned 1 (wstat 256, 0x100)
> --->8---

Hmm, does anything change when you build in the "C" locale instead of
the French one (LC_ALL=C)?

Ansgar


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to