X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fxslt%2Fdom1.c;h=24745054eb0d2c79caa17f9ea9cb47d1325398f8;hb=c00bfddbf0f3608340d61298acc61dafb167f9b2;hp=3c916e60b4fd7713cea77d6bcb4f9ea6aa909b4c;hpb=aeea139423b8eaf28a4de53b3d7b2ad1f22284e7;p=idzebra-moved-to-github.git diff --git a/test/xslt/dom1.c b/test/xslt/dom1.c index 3c916e6..2474505 100644 --- a/test/xslt/dom1.c +++ b/test/xslt/dom1.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2011 Index Data + Copyright (C) Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -145,6 +145,9 @@ void tst(int argc, char **argv) zebra_close(zh); + /* testing indexing of bad UTF-8 encoded MARC record */ + zh = index_some(zs, "dom.dom-config-utf8.xml", "bad-utf8.mrc"); + zebra_close(zh); YAZ_CHECK(tl_close_down(0, zs)); }