Subject: | Make test fails if root@localhost can't access the mysql database |
Basically, the whole of make test fails if I don't have a passwordless login for root into a local mysql database.
The module itself works fine - if I do a force install then I have no complaints.
Error message as follows:
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i686-linux -I/usr/lib/perl5/5.6.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/DBI...............ok 1/32DBI->connect(test) failed: Access denied for user: 'root@localhost' (Using password: NO) at t/DBI.t line 97
t/DBI...............NOK 2Died at t/DBI.t line 128.
t/DBI...............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-32
Failed 31/32 tests, 3.12% okay
t/RDBM..............ok 1/20TIEHASH: Can't open dbi:mysql:test, Access denied for user: 'root@localhost' (Using password: NO) at t/RDBM.t line 47
t/RDBM..............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-20
Failed 19/20 tests, 5.00% okay
And my system:
[mark@pate testsuite]$ uname -a
Linux pate 2.4.0 #2 SMP Mon Jan 8 12:46:32 GMT 2001 i686 unknown
[mark@pate testsuite]$ perl -v
This is perl, v5.6.0 built for i686-linux