summaryrefslogtreecommitdiffstats
path: root/tests/imptcp_addtlframedelim.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-08-11 15:09:08 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-08-11 15:09:08 +0200
commit00fc38c96fc56af2d9ab3445b23c9fbb03c127ab (patch)
tree5e539979ee9dda446e5b1a78bc92875c2fe6fb8d /tests/imptcp_addtlframedelim.sh
parentaef0aba9cd00fb225d2803210586b86a13547ce0 (diff)
parent053656420eb67ec3f7ce0dc57dcb2d22e8cfa0f8 (diff)
downloadrsyslog-00fc38c96fc56af2d9ab3445b23c9fbb03c127ab.tar.gz
rsyslog-00fc38c96fc56af2d9ab3445b23c9fbb03c127ab.tar.xz
rsyslog-00fc38c96fc56af2d9ab3445b23c9fbb03c127ab.zip
Merge branch 'v4-devel' into v5-devel
Diffstat (limited to 'tests/imptcp_addtlframedelim.sh')
-rwxr-xr-xtests/imptcp_addtlframedelim.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/imptcp_addtlframedelim.sh b/tests/imptcp_addtlframedelim.sh
new file mode 100755
index 00000000..b26fc85b
--- /dev/null
+++ b/tests/imptcp_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: \[imptcp_addtlframedelim.sh\]: test imptcp additional frame delimiter
+cat rsyslog.action.1.include
+source $srcdir/diag.sh init
+source $srcdir/diag.sh startup imptcp_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