X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fconfig%2Ftest2.sh;h=5de3bc8cd3d6ebb954360b7d26c355d38f77200b;hb=24357780de7d01b3c3ec2c3f6715b2feee7d0e76;hp=0557c8e27707311968f84742f52a2dcc95195c34;hpb=d9707b0f30d49fc9bb98d5ce10da8842dcd6d275;p=idzebra-moved-to-github.git diff --git a/test/config/test2.sh b/test/config/test2.sh index 0557c8e..5de3bc8 100755 --- a/test/config/test2.sh +++ b/test/config/test2.sh @@ -1,8 +1,12 @@ #!/bin/sh + +pp=${srcdir:-"."} + LOG=test2.log -if ../../index/zebraidx -l $LOG -V|grep Tcl >/dev/null; then - ../../index/zebraidx -l $LOG init - ../../index/zebraidx -l $LOG -s -t grs.tcl.m update m.rec | grep tag:dc:subject >/dev/null + +if ../../index/zebraidx -c $pp/zebra.cfg -l $LOG filters|grep grs.tcl >/dev/null; then + ../../index/zebraidx -c $pp/zebra.cfg -l $LOG init + ../../index/zebraidx -c $pp/zebra.cfg -l $LOG -s -t grs.tcl.m update $pp/m.rec | grep tag:dc:subject >/dev/null else exit 0 fi