summaryrefslogtreecommitdiffstats
path: root/tests/linkedlistqueue.sh
blob: 9570ed2bd52b0c31b22b14087cfe80dd134591ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Test for Linkedlist queue mode
# added 2009-05-20 by rgerhards
# This file is part of the rsyslog project, released  under GPLv3
echo testing queue Linkedlist queue mode
source $srcdir/diag.sh init
source $srcdir/diag.sh startup linkedlistqueue.conf

# 40000 messages should be enough
source $srcdir/diag.sh injectmsg  0 40000

# terminate *now* (don't wait for queue to drain)
kill `cat rsyslog.pid`
source $srcdir/diag.sh seq-check 0 39999
source $srcdir/diag.sh exit