diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-30 08:48:05 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-30 08:48:05 +0100 |
commit | 44057328a638ca03da0d6eda89fd19367178e6fc (patch) | |
tree | 3d199ac25511d08cd2a4e73299fcde7658d4534b /tests/rulesetmultiqueue.sh | |
parent | 1ada506e2d90377c2475e103340d8986bf8847f9 (diff) | |
download | rsyslog-44057328a638ca03da0d6eda89fd19367178e6fc.tar.gz rsyslog-44057328a638ca03da0d6eda89fd19367178e6fc.tar.xz rsyslog-44057328a638ca03da0d6eda89fd19367178e6fc.zip |
fix: testbench was broken by recent ruleset queue changes
actually, the runtime dummy was missing some global entities, these
have now been added.
Diffstat (limited to 'tests/rulesetmultiqueue.sh')
-rwxr-xr-x | tests/rulesetmultiqueue.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/rulesetmultiqueue.sh b/tests/rulesetmultiqueue.sh new file mode 100755 index 00000000..e91f0633 --- /dev/null +++ b/tests/rulesetmultiqueue.sh @@ -0,0 +1,17 @@ +# Test for disk-only queue mode +# This test checks if queue files can be correctly written +# and read back, but it does not test the transition from +# memory to disk mode for DA queues. +# added 2009-04-17 by Rgerhards +# This file is part of the rsyslog project, released under GPLv3 +# uncomment for debugging support: +echo \[diskqueue.sh\]: testing queue disk-only mode +source $srcdir/diag.sh init +source $srcdir/diag.sh startup diskqueue.conf +# 20000 messages should be enough - the disk test is slow enough ;) +sleep 4 +source $srcdir/diag.sh tcpflood 127.0.0.1 13514 1 20000 +source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages +source $srcdir/diag.sh wait-shutdown +source $srcdir/diag.sh seq-check 0 19999 +source $srcdir/diag.sh exit |