X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Fconfig%2Ftest2.sh;h=ad2f79d83f613310dc1882ec51cd900a4a99dcec;hb=51f51d3de3b24507ec02ffb8d0af62b57d25f8fb;hp=0557c8e27707311968f84742f52a2dcc95195c34;hpb=d9707b0f30d49fc9bb98d5ce10da8842dcd6d275;p=idzebra-moved-to-github.git diff --git a/test/config/test2.sh b/test/config/test2.sh index 0557c8e..ad2f79d 100755 --- a/test/config/test2.sh +++ b/test/config/test2.sh @@ -1,8 +1,13 @@ #!/bin/sh +# $Id: test2.sh,v 1.4 2004-06-15 09:43:30 adam Exp $ + +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 -V|grep 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