projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement yaz_filepath_comp which splits a path into file path
[yaz-moved-to-github.git]
/
test
/
tstmarcxml.sh
diff --git
a/test/tstmarcxml.sh
b/test/tstmarcxml.sh
index
7a970fb
..
b18a3a8
100755
(executable)
--- a/
test/tstmarcxml.sh
+++ b/
test/tstmarcxml.sh
@@
-1,6
+1,8
@@
#!/bin/sh
#!/bin/sh
-# $Id: tstmarcxml.sh,v 1.1 2006-04-19 10:05:04 adam Exp $
+# $Id: tstmarcxml.sh,v 1.3 2006-08-28 12:34:42 adam Exp $
# Tests reading of MARCXML and checks that we get identical ISO2709 output.
# Tests reading of MARCXML and checks that we get identical ISO2709 output.
+#
+# Reads marc?.xml files , Generates marc?.xml.marc files
srcdir=${srcdir:-.}
ecode=0
# Skip this test if Libxml2 support is not enabled
srcdir=${srcdir:-.}
ecode=0
# Skip this test if Libxml2 support is not enabled
@@
-21,13
+23,18
@@
for f in ${srcdir}/marc?.xml; do
rm $DIFF
rm $NEW
else
rm $DIFF
rm $NEW
else
- echo "Differ in $f"
+ echo "$f: $NEW and $OLD Differ"
ecode=1
fi
else
ecode=1
fi
else
- echo "Making test $f for the first time"
+ echo "$f: Making test result $OLD for the first time"
mv $NEW $OLD
fi
done
exit $ecode
mv $NEW $OLD
fi
done
exit $ecode
+# Local Variables:
+# mode:shell-script
+# sh-indentation: 2
+# sh-basic-offset: 4
+# End: