X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fmalxml%2Ftest1.sh;h=cd57f573b670b871849fc41a862ea4293f502c61;hb=aeea139423b8eaf28a4de53b3d7b2ad1f22284e7;hp=eb12cd113457bab0026ecc25f7383b2db9f6dcca;hpb=025215fcab86e8ea7c143238da9ffab5afdd1067;p=idzebra-moved-to-github.git diff --git a/test/malxml/test1.sh b/test/malxml/test1.sh index eb12cd1..cd57f57 100755 --- a/test/malxml/test1.sh +++ b/test/malxml/test1.sh @@ -1,3 +1,13 @@ #!/bin/sh -../../index/zebraidx init -../../index/zebraidx update f1.xml + +pp=${srcdir:-"."} + +LOG=test1.log + +rm -f $LOG +if ../../index/zebraidx -c $pp/zebra.cfg -l $LOG filters|grep grs.xml >/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