New test marcxml
[idzebra-moved-to-github.git] / test / malxml / test1.sh
index eb12cd1..6cda301 100755 (executable)
@@ -1,3 +1,9 @@
 #!/bin/sh
-../../index/zebraidx init
-../../index/zebraidx update f1.xml
+LOG=test1.log
+rm -f $LOG
+if ../../index/zebraidx -l $LOG -V|grep Expat >/dev/null; then
+        ../../index/zebraidx -l$LOG init
+else
+        exit 0
+fi
+../../index/zebraidx -l $LOG update f1.xml