diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-08-11 15:06:50 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-08-11 15:06:50 +0200 |
commit | 809ed1768b83bc0c5392f943f4820523494e8285 (patch) | |
tree | 5f8f3b8e27e70d3ecf7190876cba9c2c7489135a /tests/imptcp_addtlframedelim.sh | |
parent | 4bf834bad6640b5670959ce0c21557bf5923bb2b (diff) | |
download | rsyslog-809ed1768b83bc0c5392f943f4820523494e8285.tar.gz rsyslog-809ed1768b83bc0c5392f943f4820523494e8285.tar.xz rsyslog-809ed1768b83bc0c5392f943f4820523494e8285.zip |
imptcp: added $InputPTCPServerAddtlFrameDelimiter directive
also improved testbench
Diffstat (limited to 'tests/imptcp_addtlframedelim.sh')
-rwxr-xr-x | tests/imptcp_addtlframedelim.sh | 14 |
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 |