From: Adam Dickmeiss Date: Thu, 4 Dec 2014 13:47:31 +0000 (+0100) Subject: Test yaz-marcdump without character set conversion X-Git-Tag: v5.7.2~16 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=cca16fae6ec1295a9517731ceb5672eafe3ad896;p=yaz-moved-to-github.git Test yaz-marcdump without character set conversion A test case for YAZ-801 --- diff --git a/test/test_marc.sh b/test/test_marc.sh index 72441fa..5ced525 100755 --- a/test/test_marc.sh +++ b/test/test_marc.sh @@ -105,6 +105,14 @@ binmarc_convert() { return $ecode } +for f in ${srcdir}/marc[0-9].marc; do + ../util/yaz-marcdump $f > /dev/null + if test $? != "0"; then + echo "$f: yaz-marcdump returned error" + ecode=1 + fi +done + binmarc_convert "marcxml" "marcxml" "" xml echo "binmarc -> marcxml: $?"