X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fxpath%2Ftest5.sh;h=bbf067c1037d15c0ae79286be949439b7fb7d406;hb=a9eae0225b1a51b0257f80d9da9f95475dd04f53;hp=d193081343d0de879248f7fdfb5a43fdf1f5c337;hpb=dd54c64b5a89d7f4180e24463e5238eed6e3620b;p=idzebra-moved-to-github.git diff --git a/test/xpath/test5.sh b/test/xpath/test5.sh index d193081..bbf067c 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.3 2004-06-15 09:43:34 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 $pp/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