From cca16fae6ec1295a9517731ceb5672eafe3ad896 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 4 Dec 2014 14:47:31 +0100 Subject: [PATCH] Test yaz-marcdump without character set conversion A test case for YAZ-801 --- test/test_marc.sh | 8 ++++++++ 1 file changed, 8 insertions(+) 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: $?" -- 1.7.10.4