X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=test%2Fmalxml%2Ftest1.sh;h=cd57f573b670b871849fc41a862ea4293f502c61;hp=6cda3016aee5f6de506b4cd9d4bf153bf0104fd3;hb=97a7adeb9e5059463f039495cc01cfa448463a27;hpb=91552c9a8ba370242cb3dc478c3bcc9351262493 diff --git a/test/malxml/test1.sh b/test/malxml/test1.sh index 6cda301..cd57f57 100755 --- a/test/malxml/test1.sh +++ b/test/malxml/test1.sh @@ -1,9 +1,13 @@ #!/bin/sh + +pp=${srcdir:-"."} + LOG=test1.log + rm -f $LOG -if ../../index/zebraidx -l $LOG -V|grep Expat >/dev/null; then - ../../index/zebraidx -l$LOG init +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 -l $LOG update f1.xml +../../index/zebraidx -c $pp/zebra.cfg -l $LOG update $pp/f1.xml