X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fxpath%2Ftest4.sh;h=99f3b8b92355d9cc72ce3ea4dcc71657a6d74efc;hb=a9eae0225b1a51b0257f80d9da9f95475dd04f53;hp=1932565bba3f08982629e55095b30560988608d8;hpb=881b9293d6699c85195142af3f4a957f4982e6e2;p=idzebra-moved-to-github.git diff --git a/test/xpath/test4.sh b/test/xpath/test4.sh index 1932565..99f3b8b 100755 --- a/test/xpath/test4.sh +++ b/test/xpath/test4.sh @@ -1,5 +1,8 @@ #!/bin/sh -# $Id: test4.sh,v 1.1 2004-01-15 13:31:31 adam Exp $ +# $Id: test4.sh,v 1.3 2004-06-15 09:43:34 adam Exp $ + +pp=${srcdir:-"."} + LOG=test4.log TMP1=test4-1.tmp TMP2=test4-2.tmp @@ -8,10 +11,10 @@ TMP4=test4-4.tmp TMP5=test4-5.tmp rm -f $LOG rm -f $TMP -../../index/zebraidx -l $LOG init || exit 1 -../../index/zebraidx -l $LOG -t grs.sgml update rec4.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/rec4.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=/root content' >$TMP1