X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=test%2Fxpath%2Ftest3.sh;h=61ca51975345247e506b2f4692bcff2c31810f71;hb=00662d805048d6e372fb7187f76f8f7b1e23cb83;hp=25eb21b7adde474e7399a447443f005ca4694d5b;hpb=403ae06f9dbf8180008ccc8128f642203d41ae50;p=idzebra-moved-to-github.git diff --git a/test/xpath/test3.sh b/test/xpath/test3.sh index 25eb21b..61ca519 100755 --- a/test/xpath/test3.sh +++ b/test/xpath/test3.sh @@ -1,13 +1,16 @@ #!/bin/sh -# $Id: test3.sh,v 1.3 2003-05-21 14:39:23 adam Exp $ +# $Id: test3.sh,v 1.5 2004-06-15 09:43:34 adam Exp $ + +pp=${srcdir:-"."} + LOG=test3.log TMP=test3.tmp rm -f $LOG rm -f $TMP -../../index/zebraidx -l $LOG init || exit 1 -../../index/zebraidx -l $LOG -t grs.sgml update rec.xml || exit 2 +../../index/zebraidx -c $pp/zebra.cfg -l $LOG init || exit 1 +../../index/zebraidx -c $pp/zebra.cfg -l $LOG -t grs.sgml update $pp/rec.xml || exit 2 test -f dict*.mf || exit 1 -../../index/zebrasrv -l $LOG -S unix:socket & +../../index/zebrasrv -c $pp/zebra.cfg -l $LOG -S unix:socket & sleep 1 test -f zebrasrv.pid || exit 2 ../api/testclient unix:socket '@attr 1=/Zthes/relation/termName Sauropoda' >$TMP