From: Dennis Schafroth Date: Wed, 10 Mar 2010 15:36:53 +0000 (+0100) Subject: Commented out the marc -> xml -> marc compare. Fails due to leader/09 (character... X-Git-Tag: v4.0.3~33^2~17 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=1d1a480fa1fc743cc5d471ffbd1fad81ff23192d;ds=sidebyside Commented out the marc -> xml -> marc compare. Fails due to leader/09 (character set) --- diff --git a/test/tstmarc.sh b/test/tstmarc.sh index 2529698..6713ca0 100755 --- a/test/tstmarc.sh +++ b/test/tstmarc.sh @@ -63,7 +63,7 @@ binmarc_convert() { echo "Failed decode of $f" ecode=1 elif test -f $OLD; then -# echo "diff $OLD $NEW " +# echo "diff $OLD $NEW " if diff $OLD $NEW >$DIFF; then rm $DIFF rm $NEW @@ -77,10 +77,10 @@ binmarc_convert() { fi # check with original REVERT=`basename ${f}`.marc.revert - ../util/yaz-marcdump -f utf-8 -t $CHR -i ${REVERT_FORMAT} -o marc $f > $REVERT - hexdump -cx $REVERT > $REVERT.hex - hexdump -cx $ORIGINAL > $ORIGINAL.hex - diff $REVERT.hex $ORIGINAL.hex > $REVERT.diff + #../util/yaz-marcdump -f utf-8 -t $CHR -i ${REVERT_FORMAT} -o marc $f > $REVERT + #hexdump -cx $REVERT > $REVERT.hex + #hexdump -cx $ORIGINAL > $ORIGINAL.hex + #diff $REVERT.hex $ORIGINAL.hex > $REVERT.diff fi done return $ecode