X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fconfig%2Ftest2.sh;h=23d88288f86f9f710b2f52c0593f555879e9fb54;hb=a9eae0225b1a51b0257f80d9da9f95475dd04f53;hp=33572512eb04fa587086f54e76dba1545a90f466;hpb=72fb813b56c42335985ef47d9d2a23ebc456eae0;p=idzebra-moved-to-github.git diff --git a/test/config/test2.sh b/test/config/test2.sh index 3357251..23d8828 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.5 2004-09-27 10:44:50 adam Exp $ + +pp=${srcdir:-"."} + +LOG=test2.log + +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