From: Dennis Schafroth Date: Wed, 10 Mar 2010 21:38:17 +0000 (+0100) Subject: Added new non-libxml2 tmarc. fixed naming so it matches non-libxml2/libxml2 X-Git-Tag: v4.0.3~33^2~13 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=d36517ad4b5054144bfcddf221c546cb61af9ea0;p=yaz-moved-to-github.git Added new non-libxml2 tmarc. fixed naming so it matches non-libxml2/libxml2 --- diff --git a/test/tstmarc.sh b/test/tstmarc.sh index 6713ca0..90adf1b 100755 --- a/test/tstmarc.sh +++ b/test/tstmarc.sh @@ -23,7 +23,8 @@ binmarc_convert() { NEW=${PREFIX}${fb}.new.xml OLD=${srcdir}/${PREFIX}${fb}.xml DIFF=`basename ${f}`.diff - ../util/yaz-marcdump -f $CHR -t utf-8 -o ${OUTPUT_FORMAT} $f > $NEW + #echo "../util/yaz-marcdump -f $CHR -t utf-8 -i marc -o ${OUTPUT_FORMAT} $f > $NEW" + ../util/yaz-marcdump -f $CHR -t utf-8 -i marc -o ${OUTPUT_FORMAT} $f > $NEW if test $? != "0"; then echo "$f: yaz-marcdump returned error" ecode=1 @@ -92,10 +93,13 @@ echo "binmarc -> marcxml: $?" binmarc_convert "xml,marcxml" "marcxml" "xml2" echo "binmarc -> marcxml(libxml2): $?" -binmarc_convert "xml,tmarcxml" "tmarcxml" "t" +binmarc_convert "tmarcxml" "tmarcxml" "t" echo "binmarc -> tmarcxml: $?" -# exit $ecode +binmarc_convert "xml,tmarcxml" "tmarcxml" "xml2t" +echo "binmarc -> tmarcxml(libxml2): $?" + +exit $ecode # Local Variables: # mode:shell-script