X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fconfig%2Ftest2.sh;h=41923370d62be798438b3483506ed805012bf76f;hb=3038982ea4d46e1562a4e88029199ca09153a839;hp=33572512eb04fa587086f54e76dba1545a90f466;hpb=72fb813b56c42335985ef47d9d2a23ebc456eae0;p=idzebra-moved-to-github.git diff --git a/test/config/test2.sh b/test/config/test2.sh index 3357251..4192337 100755 --- a/test/config/test2.sh +++ b/test/config/test2.sh @@ -1,7 +1,13 @@ #!/bin/sh -if ../../index/zebraidx -V|grep Tcl >/dev/null; then - ../../index/zebraidx init - ../../index/zebraidx -s -t grs.tcl.m update m.rec | grep tag:dc:subject >/dev/null +# $Id: test2.sh,v 1.3 2004-06-15 08:06:34 adam Exp $ + +pp=${srcdir:-"."} + +LOG=test2.log + +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 m.rec | grep tag:dc:subject >/dev/null else exit 0 fi