On Tue, Feb 18, 2014 at 02:50:43PM +0000, Tim Bunce wrote: > On Tue, Feb 18, 2014 at 10:15:53AM +0100, H.Merijn Brand wrote: > > > > I see a serious weekness. Don't know if it is Test::Database or > > DBI::Test, but the current templates do not seem to be able to see a > > difference between undef and "" for username and password: > > > > $ cat out/Default/Pg/Default/DBIT_sth_ro/BasicPrepareExecuteSelect.t > > #!perl > > use lib "lib"; > > $ENV{DBI_PASS} = ""; > > $ENV{DBI_USER} = ""; > > $ENV{DBI_DSN} = "dbi:Pg:dbname=test"; > > > Drivers allow username and/or password to be undefined, but they also > > allow username/password to be the empty string, and these are two > > different things! > > The root cause is in Test::Database. I've opened a case for it: > https://rt.cpan.org/Ticket/Display.html?id=93128
BooK has fixed that in T:DB v1.111 - please retry. Tim.