X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fgils%2Ftest2.sh;h=c99e171265c0c6abe57ec45968bb3bed56444ad0;hb=12c6db025bffd23e760ceb31120468cf363256df;hp=233a2218299994b751f65a88e1f2215d0496b56f;hpb=51f51d3de3b24507ec02ffb8d0af62b57d25f8fb;p=idzebra-moved-to-github.git diff --git a/test/gils/test2.sh b/test/gils/test2.sh index 233a221..c99e171 100755 --- a/test/gils/test2.sh +++ b/test/gils/test2.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: test2.sh,v 1.9 2004-06-15 09:43:30 adam Exp $ +# $Id: test2.sh,v 1.10 2004-09-24 15:03:19 adam Exp $ pp=${srcdir:-"."} @@ -22,7 +22,7 @@ test -f zebrasrv.pid && kill -9 `cat zebrasrv.pid` echo "starting server..." >>$LOG ../../index/zebrasrv -S -c $pp/zebra2.cfg -l $LOG tcp:@:9901 & sleep 1 -test -f zebrasrv.pid || exit 1 +test -f zebrasrv.pid || sleep 5 || test -f zebrasrv.pid || exit 1 echo "search 1..." >>$LOG ../api/testclient localhost:9901 "@attr 1=4 utah" > log || exit 1