[Koha-bugs] [Bug 29324] Some files still don't have the correct license statement

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 11 10:31:42 CEST 2023


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

--- Comment #4 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Philip Orr from comment #3)
> Hmm, I didn't do anything but apply the patch and run the test and the tests
> already aren't failing for me.
> 
> kohadev-koha at kohadevbox:xt(bug29324)$ perl find-license-problems.t
> ok 1
> ok 2
> ok 3
> ok 4
> ok 5
> ok 6
> ok 7
> ok 8
> ok 9
> ok 10
> ok 11
> ok 12
> ok 13
> ok 14
> ok 15
> 1..15

Hi Philip,
This is still valid, there are more than 15 tests. You need to run the script
from the root of the Koha src directory, not from xt.

You will get:

#   Failed test at xt/find-license-problems.t line 63.                          
#          got: '0'
#     expected: '1'                                                             
# File ./Koha/Course.pm has wrong copyright: hasgpl=1, hasv3=1, hasorlater=1,
haslinktolicense=0, hasfranklinst=1

#   Failed test at xt/find-license-problems.t line 63.                          
#          got: '0'
#     expected: '1'                                                             
# File ./Koha/Courses.pm has wrong copyright: hasgpl=1, hasv3=1, hasorlater=1,
haslinktolicense=0, hasfranklinst=1

And so on...

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


More information about the Koha-bugs mailing list