summaryrefslogtreecommitdiffstats
path: root/tests/arrayqueue.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arrayqueue.sh')
-rwxr-xr-xtests/arrayqueue.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/arrayqueue.sh b/tests/arrayqueue.sh
index 01fc133b..58fd24ae 100755
--- a/tests/arrayqueue.sh
+++ b/tests/arrayqueue.sh
@@ -10,5 +10,8 @@ source $srcdir/diag.sh injectmsg 0 40000
# terminate *now* (don't wait for queue to drain!)
kill `cat rsyslog.pid`
+
+# now wait until rsyslog.pid is gone (and the process finished)
+source $srcdir/diag.sh wait-shutdown
source $srcdir/diag.sh seq-check 0 39999
source $srcdir/diag.sh exit