[Koha-bugs] [Bug 13264] Test about UTF-8 (bug 11944)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 6 19:07:04 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13264

--- Comment #78 from Zeno Tajoli <z.tajoli at cineca.it> ---
Hi,

I'm testing on a Debian stable (Wheezy) with perl 5.14.2.
Laste version of  ft/bug_11944.
All modules present and updated.

With the code now in 'Need Signoff', no problem.
If I insert by hand  the changes of comment 73 and 77 I don't pass the test.

The result is:
search_utf8.t .. 19/64 
#   Failed test at search_utf8.t line 250.
Wide character in print at /usr/local/share/perl/5.14.2/Test/Builder.pm line
1826.
#                   'Koha › Catalog › Results of search for 'kw,wrdl:
Αθήνα'CirculationPatronsSearchCartMore
ListsCatalogingAcquisitionsAuthoritiesSerialsReportsToolsAdministrationAbout
Koha koha |  NO LIBRARY SET   Set libraryLog outHelpYour cart is empty.Enter
patron card number or partial name:   Scan a barcode to check in: Enter search
keywords: Check outCheck inSearch the catalogHome › Catalog › Search for
'kw,wrdl: Αθήνα' No results found No results match your search
for 'kw,wrdl: Αθήνα'.    '
#     doesn't match '(?^u:Publisher: Αθήνα)'

#   Failed test 'Base is like "(?^u:q=%CE%91%CE%B8%CE%AE%CE%BD%CE%B1)"'
#   at search_utf8.t line 254.
#          got: "http://192.168.216.128:8080/cgi-bin/koha/catalogue"...
#       length: 203
#     doesn't match '(?^u:q=%CE%91%CE%B8%CE%AE%CE%BD%CE%B1)'

#   Failed test 'UTF-8 chars are correctly present. Good'
#   at search_utf8.t line 257.
search_utf8.t .. 26/64
http://192.168.216.128/cgi-bin/koha/opac-search.pl?idx=&q=%CE%91%CE%B8%CE%AE%CE%BD%CE%B1
at search_utf8.t line 279.
search_utf8.t .. 49/64 
#   Failed test at search_utf8.t line 240.
Wide character in print at /usr/local/share/perl/5.14.2/Test/Builder.pm line
1826.
#                   'Koha › Catalog › Results of search for 'kw,wrdl:
Tòmas'CirculationPatronsSearchCartMore
ListsCatalogingAcquisitionsAuthoritiesSerialsReportsToolsAdministrationAbout
Koha koha |  NO LIBRARY SET   Set libraryLog outHelpYour cart is empty.Enter
patron card number or partial name:   Scan a barcode to check in: Enter search
keywords: Check outCheck inSearch the catalogHome › Catalog › Search for
'kw,wrdl: Tòmas' No results found No results match your search for 'kw,wrdl:
Tòmas'.    '
#     doesn't match '(?^u:Publisher: Ramòn)'
search_utf8.t .. 51/64 
#   Failed test at search_utf8.t line 250.
Wide character in print at /usr/local/share/perl/5.14.2/Test/Builder.pm line
1826.
#                   'Koha › Catalog › Results of search for 'kw,wrdl:
Ramòn'CirculationPatronsSearchCartMore
ListsCatalogingAcquisitionsAuthoritiesSerialsReportsToolsAdministrationAbout
Koha koha |  NO LIBRARY SET   Set libraryLog outHelpYour cart is empty.Enter
patron card number or partial name:   Scan a barcode to check in: Enter search
keywords: Check outCheck inSearch the catalogHome › Catalog › Search for
'kw,wrdl: Ramòn' No results found No results match your search for 'kw,wrdl:
Ramòn'.    '
#     doesn't match '(?^u:Publisher: Ramòn)'

#   Failed test 'Base is like "(?^u:q=Ram%C3%B2n)"'
#   at search_utf8.t line 254.
#          got: "http://192.168.216.128:8080/cgi-bin/koha/catalogue"...
#       length: 159
#     doesn't match '(?^u:q=Ram%C3%B2n)'

#   Failed test 'UTF-8 chars are correctly present. Good'
#   at search_utf8.t line 257.
search_utf8.t .. 58/64
http://192.168.216.128/cgi-bin/koha/opac-search.pl?idx=&q=Ram%C3%B2n at
search_utf8.t line 279.
search_utf8.t .. 64/64 # Looks like you failed 7 tests of 64.
search_utf8.t .. Dubious, test returned 7 (wstat 1792, 0x700)
Failed 7/64 subtests 

Test Summary Report
-------------------
search_utf8.t (Wstat: 1792 Tests: 64 Failed: 7)
  Failed tests:  19-20, 22, 49, 51-52, 54
  Non-zero exit status: 7
Files=1, Tests=64, 118 wallclock secs ( 0.04 usr  0.02 sys +  2.15 cusr  0.43
csys =  2.64 CPU)
Result: FAIL

There are changes on Unicode in 5.14/5.18/5.20
Are so huge ?

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


More information about the Koha-bugs mailing list