X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=test%2Fxpath%2Ftest5.sh;h=642964545b7b7f7a71d3945cc274463be39b9b17;hb=3038982ea4d46e1562a4e88029199ca09153a839;hp=d193081343d0de879248f7fdfb5a43fdf1f5c337;hpb=9f7d2fac648dbdba81e007f08ba3fbbb33c273b9;p=idzebra-moved-to-github.git diff --git a/test/xpath/test5.sh b/test/xpath/test5.sh index d193081..6429645 100755 --- a/test/xpath/test5.sh +++ b/test/xpath/test5.sh @@ -1,14 +1,17 @@ #!/bin/sh -# $Id: test5.sh,v 1.1 2004-02-09 17:44:49 heikki Exp $ +# $Id: test5.sh,v 1.2 2004-06-15 08:06:35 adam Exp $ + +pp=${srcdir:-"."} + LOG="test5.log" TMP="test5.tmp" DBG="-v 1647" rm -f $LOG rm -f $TMP.* -../../index/zebraidx -l $LOG init || exit 1 -../../index/zebraidx -l $LOG -t grs.sgml update rec5.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 rec5.xml || exit 2 test -f dict*.mf || exit 1 -../../index/zebrasrv -l $LOG $DBG -S unix:socket & +../../index/zebrasrv -c $pp/zebra.cfg -l $LOG $DBG -S unix:socket & sleep 1 test -f zebrasrv.pid || exit 2 ../api/testclient unix:socket '@attr 1=/record/title foo' >$TMP.1