X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fmalxml%2Ftest1.sh;h=6cda3016aee5f6de506b4cd9d4bf153bf0104fd3;hb=91552c9a8ba370242cb3dc478c3bcc9351262493;hp=b2bdbd81f37b763ec6f600f440f30a7fda870309;hpb=d9707b0f30d49fc9bb98d5ce10da8842dcd6d275;p=idzebra-moved-to-github.git diff --git a/test/malxml/test1.sh b/test/malxml/test1.sh index b2bdbd8..6cda301 100755 --- a/test/malxml/test1.sh +++ b/test/malxml/test1.sh @@ -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