projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added utility check_filter which checks for filter and exit(0)
[idzebra-moved-to-github.git]
/
test
/
gils
/
stop04.sh
diff --git
a/test/gils/stop04.sh
b/test/gils/stop04.sh
index
10bde11
..
11bfd7b
100755
(executable)
--- a/
test/gils/stop04.sh
+++ b/
test/gils/stop04.sh
@@
-1,5
+1,5
@@
#!/bin/sh
#!/bin/sh
-# $Id: stop04.sh,v 1.6 2004-06-15 08:06:34 adam Exp $
+# $Id: stop04.sh,v 1.7 2004-09-24 15:03:19 adam Exp $
# test start and stop of the forked server
pp=${srcdir:-"."}
# test start and stop of the forked server
pp=${srcdir:-"."}
@@
-22,7
+22,7
@@
echo "Starting server with (forked)..." >>$LOG
sleep 1
echo " checking that it runs... " >>$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
PID=`cat zebrasrv.pid`
ps -p $PID | grep $PID >/dev/null || exit 1