X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fxpath%2Fsimple1.sh;h=3d4d940b5e530fe9ef5ff77e700ac1cbc70a2ecc;hb=ec214819d7b9e2f5c362584d8e38f83e13aae600;hp=239811c39a81094d004c1afef09caaf37b939997;hpb=403ae06f9dbf8180008ccc8128f642203d41ae50;p=idzebra-moved-to-github.git diff --git a/test/xpath/simple1.sh b/test/xpath/simple1.sh index 239811c..3d4d940 100755 --- a/test/xpath/simple1.sh +++ b/test/xpath/simple1.sh @@ -1,13 +1,15 @@ #!/bin/sh -# $Id: simple1.sh,v 1.3 2003-05-21 14:39:23 adam Exp $ +# $Id: simple1.sh,v 1.4 2004-06-15 09:43:34 adam Exp $ # test with one simple sgml record +pp=${srcdir:-"."} + LOG=simple1.log -../../index/zebraidx -l $LOG init || exit 1 -../../index/zebraidx -l $LOG update simple1.xml || exit 1 +../../index/zebraidx -c $pp/zebra.cfg -l $LOG init || exit 1 +../../index/zebraidx -c $pp/zebra.cfg -l $LOG update $pp/simple1.xml || exit 1 echo "Starting server " >> $LOG -../../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