projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e32cb4
)
Test yaz-marcdump without character set conversion
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 4 Dec 2014 13:47:31 +0000
(14:47 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 4 Dec 2014 13:47:31 +0000
(14:47 +0100)
A test case for YAZ-801
test/test_marc.sh
patch
|
blob
|
history
diff --git
a/test/test_marc.sh
b/test/test_marc.sh
index
72441fa
..
5ced525
100755
(executable)
--- 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: $?"