[Koha-bugs] [Bug 32979] Add Test::Exception to Logger.t

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 17 14:04:58 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32979

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Signed Off

--- Comment #5 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Kyle M Hall from comment #4)
> Tests fail on a freshly created koha testing docker:
> 
> root at kohadevbox:koha(bug32979-qa)$ prove t/Logger.t
> t/Logger.t ..
>     #   Failed test 'Logger did not init correctly without permission'
>     #   at t/Logger.t line 51.
>     # expecting: Regexp ((?^u:Permission denied))
>     # found: normal exit
>     # Looks like you failed 1 test of 10.
> t/Logger.t .. 1/1
> #   Failed test 'Test01 -- Simple tests for Koha::Logger'
> #   at t/Logger.t line 73.
> # Looks like you failed 1 test of 1.
> t/Logger.t .. Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/1 subtests
> 
> Test Summary Report
> -------------------
> t/Logger.t (Wstat: 256 Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> Files=1, Tests=1,  0 wallclock secs ( 0.01 usr  0.01 sys +  0.17 cusr  0.01
> csys =  0.20 CPU)
> Result: FAIL

root at kohadevbox:koha(bug32979-qa)$ prove t/Logger.t

You should not run this test as ROOT !

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list