[Koha-bugs] [Bug 15492] Stand alone self check-in tool
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 27 01:14:40 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15492
--- Comment #48 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
There is something wrong with commit d6e8e88249914531d8b01f35200de6a8a4692b89
Bug 15492: Make existing code aware of new self_check* permissions
% prove t/db_dependent/Search/History.t
t/db_dependent/Search/History.t .. 12/27 A context appears to have been
destroyed without first calling release().
Based on $@ it does not look like an exception was thrown (this is not always
a reliable test)
This is a problem because the global error variables ($!, $@, and $?) will
not be restored. In addition some release callbacks will not work properly from
inside a DESTROY method.
Here are the context creation details, just in case a tool forgot to call
release():
File: t/db_dependent/Search/History.t
Line: 478
Tool: Test::More::subtest
Cleaning up the CONTEXT stack...
# Test ended with extra hubs on the stack!
# Looks like you planned 27 tests but ran 26.
t/db_dependent/Search/History.t .. Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 1/27 subtests
Test Summary Report
-------------------
t/db_dependent/Search/History.t (Wstat: 65280 Tests: 26 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 27 tests but ran 26.
Files=1, Tests=26, 2 wallclock secs ( 0.02 usr 0.01 sys + 1.09 cusr 0.82
csys = 1.94 CPU)
Result: FAIL
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list