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:
c54a579
)
Commented out the marc -> xml -> marc compare. Fails due to leader/09 (character...
author
Dennis Schafroth
<dennis@indexdata.com>
Wed, 10 Mar 2010 15:36:53 +0000
(16:36 +0100)
committer
Dennis Schafroth
<dennis@indexdata.com>
Wed, 10 Mar 2010 15:36:53 +0000
(16:36 +0100)
test/tstmarc.sh
patch
|
blob
|
history
diff --git
a/test/tstmarc.sh
b/test/tstmarc.sh
index
2529698
..
6713ca0
100755
(executable)
--- 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 "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
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
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
fi
done
return $ecode