X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fsort%2Ftest1.sh;fp=test%2Fsort%2Ftest1.sh;h=787b27fb64a3803f25fc5cdee991c8e9bf268049;hb=3038982ea4d46e1562a4e88029199ca09153a839;hp=2d18e7c01b85b7b9ef522a75745051850830ac8e;hpb=9f7d2fac648dbdba81e007f08ba3fbbb33c273b9;p=idzebra-moved-to-github.git diff --git a/test/sort/test1.sh b/test/sort/test1.sh index 2d18e7c..787b27f 100755 --- a/test/sort/test1.sh +++ b/test/sort/test1.sh @@ -1,5 +1,8 @@ #!/bin/sh -# $Id: test1.sh,v 1.5 2003-09-24 11:45:44 adam Exp $ +# $Id: test1.sh,v 1.6 2004-06-15 08:06:35 adam Exp $ + +pp=${srcdir:-"."} + ulimit -c 10000 LOG=test1.log rm -fr lock @@ -9,8 +12,8 @@ mkdir reg rm -fr recs mkdir recs cp rec*.xml recs -../../index/zebraidx -l $LOG update recs || exit 1 -../../index/zebrasrv -l $LOG unix:socket & +../../index/zebraidx -c $pp/zebra.cfg -l $LOG update recs || exit 1 +../../index/zebrasrv -c $pp/zebra.cfg -l $LOG unix:socket & sleep 1 test -f lock/zebrasrv.pid || exit 2 ../api/testclient -n3 unix:socket '@or computer @attr 7=1 @attr 1=30 0' >tmp1