]> git.koha-community.org Git - koha.git/commit
Bug 10684: add regression test
authorGalen Charlton <gmc@esilibrary.com>
Thu, 14 Nov 2013 16:50:37 +0000 (16:50 +0000)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 21 Nov 2013 13:13:02 +0000 (10:13 -0300)
commit47f8ca876db5c12a12fe3899b73bc3d7c5b951ee
tree6ef1b1c84e662e0c2cf710ccb28875a315c57a79
parentda1443882cef1e02e9fc1a139bcbeb717519e507
Bug 10684: add regression test

This patch adds a regression test for Koha's ability
to gracefully handle records that Zebra will index but
which MARC::Record won't parse.  In particular, MARC::File::USMARC
croaks on records that contain non-alphanumeric characters in the
tag name.

To test:

[1] After applying this test, run prove -v t/db_dependent/Search.t
    The test script will die when it gets to the regression test.
[2] After applying the main patches that fix the bug, the test
    script should pass.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 7e6364baee47581615eca0cad9de100afdb49dc0)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/Search.t
t/db_dependent/data/zebraexport/biblio/exported_records