[Koha-bugs] [Bug 17880] C4::Installer:: PerlModules lexicographical comparison is incorrect

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 12 01:18:46 CET 2017


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

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff

--- Comment #6 from David Cook <dcook at prosentient.com.au> ---
Test Plan:

1) Apply patch "Bug 17880 - Add test to check version number comparison"
2) Run "perl t/Installer_PerlModules.t"
3) Note the following output:

not ok 19 - Version 0.9.13 is greater than 0.9.3, so no upgrade needed

#   Failed test 'Version 0.9.13 is greater than 0.9.3, so no upgrade needed'
#   at t/Installer_PerlModules.t line 51.
#          got: '1'
#     expected: '0'
# Looks like you failed 1 test of 19.

4) Apply patch "Bug 17880 - Use version.pm to parse version numbers in
C4::Installer::PerlModules"
5) Run "perl t/Installer_PerlModules.t"
6) Note the following output:

ok 19 - Version 0.9.13 is greater than 0.9.3, so no upgrade needed

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


More information about the Koha-bugs mailing list