[Koha-bugs] [Bug 15323] ./t/Prices.t fails without a valid database
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 15 18:36:07 CET 2016
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15323
Larry Baerveldt <larry at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |larry at bywatersolutions.com
--- Comment #5 from Larry Baerveldt <larry at bywatersolutions.com> ---
I've seen this error too when attempting to build a package. Version tested was
3.20.06. Here's the test failure message:
DBI connect('dbname=koha;host=localhost;port=3306','kohaadmin',...) failed:
Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Connector.pm line
32.
Can't call method "do" on unblessed reference at
/tmp/buildd/koha-3.20.06+20160114144139.2d762685/blib/PERL_MODULE_DIR/C4/Context.pm
line 793.
# Child (Configuration 1: 0 0) exited without calling finalize()
# Failed test 'Configuration 1: 0 0'
# at /usr/share/perl/5.20/Test/Builder.pm line 276.
# Looks like you planned 16 tests but ran 5.
# Looks like you failed 1 test of 5 run.
# Looks like your test exited with 255 just after 5.
t/Prices.t ..........................
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 12/16 subtests
t/Print.t ........................... ok
...
Test Summary Report
-------------------
t/Prices.t (Wstat: 65280 Tests: 5 Failed: 1)
Failed test: 5
Non-zero exit status: 255
Parse errors: Bad plan. You planned 16 tests but ran 5.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list