summaryrefslogtreecommitdiffstats
path: root/tests/discard-allmark.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-03-09 11:28:22 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-03-09 11:28:22 +0100
commitd1ae9e393885fb6d9fc69fc1bb08a098a8ac0328 (patch)
tree102a950a54b0bd06cab47ed15541c1d52f4d18d0 /tests/discard-allmark.sh
parent53afa44de8d7796df46a12d66fd9866165779d94 (diff)
downloadrsyslog-d1ae9e393885fb6d9fc69fc1bb08a098a8ac0328.tar.gz
rsyslog-d1ae9e393885fb6d9fc69fc1bb08a098a8ac0328.tar.xz
rsyslog-d1ae9e393885fb6d9fc69fc1bb08a098a8ac0328.zip
improved testbench
Diffstat (limited to 'tests/discard-allmark.sh')
-rwxr-xr-xtests/discard-allmark.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/discard-allmark.sh b/tests/discard-allmark.sh
new file mode 100755
index 00000000..eb46ae70
--- /dev/null
+++ b/tests/discard-allmark.sh
@@ -0,0 +1,10 @@
+# This file is part of the rsyslog project, released under GPLv3
+echo ===============================================================================
+echo \[discard-allmark.sh\]: testing discard-allmark functionality
+source $srcdir/diag.sh init
+source $srcdir/diag.sh startup discard-allmark.conf
+source $srcdir/diag.sh tcpflood -m10 -i1
+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 2 10
+source $srcdir/diag.sh exit