[Koha-bugs] [Bug 12409] New: The test t/db_dependent/Record.t fails with Perl 5.18.2

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 12 10:32:04 CEST 2014


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

            Bug ID: 12409
           Summary: The test t/db_dependent/Record.t fails with Perl
                    5.18.2
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: yohann.dufour at biblibre.com
        QA Contact: gmcharlt at gmail.com

When I execute the test command : prove t/db_dependent/Record.t , the test
fails with the message :

t/db_dependent/Record.t .. 1/11 
#   Failed test 'testing bibtex'
#   at t/db_dependent/Record.t line 107.
#          got: '@book{testID,
#     author = {Rowling, J.K.},
#     title = {Harry potter},
#     year = {2001},
#     publisher = {Scholastic}
# }
# '
#     expected: '@book{testID,
#     author = {Rowling, J.K.},
#     title = {Harry potter},
#     publisher = {Scholastic},
#     year = {2001}
# }
# '

#   Failed test 'testing bibtex with RDA 264 field'
#   at t/db_dependent/Record.t line 120.
#          got: '@book{testID,
#     publisher = {Reprints},
#     year = {2011},
#     author = {Rowling, J.K.},
#     title = {Harry potter}
# }
# '
#     expected: '@book{testID,
#     author = {Rowling, J.K.},
#     title = {Harry potter},
#     publisher = {Reprints},
#     year = {2011}
# }
# '
# Looks like you failed 2 tests of 11.
t/db_dependent/Record.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/11 subtests 

Test Summary Report
-------------------
t/db_dependent/Record.t (Wstat: 512 Tests: 11 Failed: 2)
  Failed tests:  9-10
  Non-zero exit status: 2
Files=1, Tests=11,  1 wallclock secs ( 0.03 usr  0.01 sys +  1.33 cusr  0.08
csys =  1.45 CPU)
Result: FAIL


My OS is Ubuntu 14.04 and my perl version is 5.18.2. It seems to be linked with
hash key order randomization.

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


More information about the Koha-bugs mailing list