Le 29/10/2012 10:06, Ansgar Burchardt a écrit : > Control: tag -1 moreinfo > > On 10/29/2012 09:29 AM, Xavier Guimard wrote: >> When "make test" find an initdb, 01connect test fails line 79/ It wants >> an error and nothing is returned. When >> /usr/lib/postgresql/9.1/bin/initdb isn't present, All works find. >> >> PostgreSQL version : 9.1+134wheezy1 > > libdbd-pg-perl build-depends on postgresql for the test suite so initdb > should always be there. I just tried rebuilding it with sbuild in > unstable and there were no errors. > > Please send (the relevant part of) the build log. > > Ansgar
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. Regards, Xavier ---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:)' # # DBI Version 1.622 # DBD::Pg Version 2.19.2 # Perl Version 5.14.2 # OS linux # PostgreSQL (compiled) 90106 # PostgreSQL (target) 90106 # PostgreSQL (reported) PostgreSQL 9.1.6 on x86_64-unknown-linux-gnu, compiled by gcc (Debian 4.7.2-2) 4.7.2, 64-bit # Default port 5432 # DBI_DSN dbi:Pg:db="postgres";port=5440;host=/tmp/dbdpg_testdatabase_O7VfwI/data/socket # DBI_USER xavier # Test schema dbd_pg_testschema # LANG C # array_nulls on # backslash_quote safe_encoding # client_encoding UTF8 # server_encoding UTF8 # standard_conforming_strings on # Adjusted: initdb # Looks like you failed 1 test of 15. t/01connect.t ....... Dubious, test returned 1 (wstat 256, 0x100) --->8--- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org