New test marcxml
[idzebra-moved-to-github.git] / test / malxml / test1.sh
index b2bdbd8..6cda301 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/sh
 LOG=test1.log
-../../index/zebraidx -l $LOG init
+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