X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fmalxml%2Ftest1.sh;h=c5a56077fd5c921e46375e739abe0c10d2c69154;hb=51f51d3de3b24507ec02ffb8d0af62b57d25f8fb;hp=b2bdbd81f37b763ec6f600f440f30a7fda870309;hpb=d9707b0f30d49fc9bb98d5ce10da8842dcd6d275;p=idzebra-moved-to-github.git diff --git a/test/malxml/test1.sh b/test/malxml/test1.sh index b2bdbd8..c5a5607 100755 --- a/test/malxml/test1.sh +++ b/test/malxml/test1.sh @@ -1,4 +1,14 @@ #!/bin/sh +# $Id: test1.sh,v 1.5 2004-06-15 09:43:32 adam Exp $ + +pp=${srcdir:-"."} + LOG=test1.log -../../index/zebraidx -l $LOG init -../../index/zebraidx -l $LOG update f1.xml + +rm -f $LOG +if ../../index/zebraidx -l $LOG -V|grep Expat >/dev/null; then + ../../index/zebraidx -c $pp/zebra.cfg -l$LOG init +else + exit 0 +fi +../../index/zebraidx -c $pp/zebra.cfg -l $LOG update $pp/f1.xml