X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fgils%2Fstop02.sh;h=428bf2c45798d643dd0e6e366e911e110f62996c;hb=a9eae0225b1a51b0257f80d9da9f95475dd04f53;hp=d6216bf1148bbcaad1ff74f10270400094aaa48b;hpb=965edd26d5f3cb170e8a02fee134bc19c9c615f4;p=idzebra-moved-to-github.git diff --git a/test/gils/stop02.sh b/test/gils/stop02.sh index d6216bf..428bf2c 100755 --- a/test/gils/stop02.sh +++ b/test/gils/stop02.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: stop02.sh,v 1.6 2004-06-14 23:45:11 adam Exp $ +# $Id: stop02.sh,v 1.7 2004-09-24 15:03:19 adam Exp $ # test start and stop of the server with -S pp=${srcdir:-"."} @@ -22,7 +22,7 @@ echo "Starting server with -S (static)..." >>$LOG sleep 1 echo " checking that it runs... " >>$LOG -test -f zebrasrv.pid || exit 1 +test -f zebrasrv.pid || sleep 5 || test -f zebrasrv.pid || exit 1 PID=`cat zebrasrv.pid` ps -p $PID |grep $PID >/dev/null || exit 1