diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-04-21 17:38:53 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-04-21 17:38:53 +0100 |
commit | d02bd7b837e6b0b47df797cf61a6a8eb80bace7c (patch) | |
tree | bb62cdf03348446ffa8bbd3bccf47ee1a11f65d3 /tests/diag.sh | |
parent | 5fe0bc6aea9e101692a98450703c9c3d00302d67 (diff) | |
parent | b526e3d92f214aa2a3d0e3c2746884e9a9dba411 (diff) | |
download | rsyslog-d02bd7b837e6b0b47df797cf61a6a8eb80bace7c.tar.gz rsyslog-d02bd7b837e6b0b47df797cf61a6a8eb80bace7c.tar.xz rsyslog-d02bd7b837e6b0b47df797cf61a6a8eb80bace7c.zip |
Merge branch 'v4-devel'
Diffstat (limited to 'tests/diag.sh')
-rwxr-xr-x | tests/diag.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/diag.sh b/tests/diag.sh index b81e4eb6..0bcb34ce 100755 --- a/tests/diag.sh +++ b/tests/diag.sh @@ -39,6 +39,9 @@ case $1 in $srcdir/diag.sh wait-startup $3 ;; 'wait-startup') # wait for rsyslogd startup ($2 is the instance) + while test ! -f rsyslog$2.pid; do + ./msleep 100 # wait 100 milliseconds + done while test ! -f rsyslogd$2.started; do ./msleep 100 # wait 100 milliseconds done |