X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fgils%2Fstop02.sh;h=3fc821e252f20baa591e335320223fc07113c319;hb=2ca7b6bfd7e8d9a2cb9c36bf2520b46511a594eb;hp=37a20db09491d991c74f02e451fbe3d1f0d5ed81;hpb=339db25a87b77481458e80a2b932f7161fe597c6;p=idzebra-moved-to-github.git diff --git a/test/gils/stop02.sh b/test/gils/stop02.sh index 37a20db..3fc821e 100755 --- a/test/gils/stop02.sh +++ b/test/gils/stop02.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: stop02.sh,v 1.10 2005-01-02 23:21:31 adam Exp $ +# $Id: stop02.sh,v 1.11 2005-01-03 09:19:26 adam Exp $ # test start and stop of the server with -S pp=${srcdir:-"."} @@ -17,7 +17,7 @@ test -d reg || mkdir reg echo "Starting server with -S (static)..." >>$LOG ../../index/zebrasrv -D -p z.pid -S -c $pp/zebra1.cfg -l $LOG unix:socket echo " checking that it runs... " >>$LOG -test -f z.pid || sleep 1 || test -f z.pid || exit 1 +test -f z.pid || exit 1 PID=`cat z.pid` kill -CHLD $PID >/dev/null 2>&1 || exit 1