]> 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)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 14 Nov 2013 18:04:39 +0000 (18:04 +0000)
commit7e6364baee47581615eca0cad9de100afdb49dc0
treea24eddd1fa2350a180ea90afaf7174e59d3fde28
parentdd36a1ffa141e49daa60a20b55dcfcc1eccad857
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>
t/db_dependent/Search.t
t/db_dependent/data/marc21/zebraexport/biblio/exported_records