X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fgils%2Fstop03.sh;h=e2ab9fcee7895bdc6d877290e0a490e055eda40f;hb=a9eae0225b1a51b0257f80d9da9f95475dd04f53;hp=7afed30e572ae1c7ba9a0517d3176511a46beae8;hpb=3038982ea4d46e1562a4e88029199ca09153a839;p=idzebra-moved-to-github.git diff --git a/test/gils/stop03.sh b/test/gils/stop03.sh index 7afed30..e2ab9fc 100755 --- a/test/gils/stop03.sh +++ b/test/gils/stop03.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: stop03.sh,v 1.7 2004-06-15 08:06:34 adam Exp $ +# $Id: stop03.sh,v 1.8 2004-09-24 15:03:19 adam Exp $ # test start and stop of the threaded server (-T) pp=${srcdir:-"."} @@ -29,7 +29,7 @@ if grep 'not available' out >/dev/null; then exit 0 fi 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