summaryrefslogtreecommitdiffstats
path: root/tests/imtcp_addtlframedelim.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-08-11 15:09:21 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-08-11 15:09:21 +0200
commitd89c2e2062117b49f18688531ac93b7ac0307042 (patch)
tree2cad11b45560e5a8f44d48c36336f5d2904b0988 /tests/imtcp_addtlframedelim.sh
parent99b3b670e81bff0afc877f52cd261b354444aec1 (diff)
parent00fc38c96fc56af2d9ab3445b23c9fbb03c127ab (diff)
downloadrsyslog-d89c2e2062117b49f18688531ac93b7ac0307042.tar.gz
rsyslog-d89c2e2062117b49f18688531ac93b7ac0307042.tar.bz2
rsyslog-d89c2e2062117b49f18688531ac93b7ac0307042.zip
Merge branch 'v5-devel'
Diffstat (limited to 'tests/imtcp_addtlframedelim.sh')
-rwxr-xr-xtests/imtcp_addtlframedelim.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/imtcp_addtlframedelim.sh b/tests/imtcp_addtlframedelim.sh
new file mode 100755
index 00000000..8de7ca58
--- /dev/null
+++ b/tests/imtcp_addtlframedelim.sh
@@ -0,0 +1,14 @@
+# added 2010-08-11 by Rgerhards
+#
+# This file is part of the rsyslog project, released under GPLv3
+echo ====================================================================================
+echo TEST: \[imtcp_addtlframedelim.sh\]: test imtcp additional frame delimiter
+cat rsyslog.action.1.include
+source $srcdir/diag.sh init
+source $srcdir/diag.sh startup imtcp_addtlframedelim.conf
+source $srcdir/diag.sh tcpflood -m20000 -F0 -P129
+#sleep 2 # due to large messages, we need this time for the tcp receiver to settle...
+source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
+source $srcdir/diag.sh wait-shutdown # and wait for it to terminate
+source $srcdir/diag.sh seq-check 0 19999
+source $srcdir/diag.sh exit