diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-30 08:58:30 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-30 08:58:30 +0100 |
commit | 2f02a706a87309bdae65625cb8be8ace35589a3a (patch) | |
tree | 3f945386ef56c2b87a51f10e8b6b7f88e92321be | |
parent | 7a51d07e941b82ea83b195d9e84c0fda46322f21 (diff) | |
download | rsyslog-2f02a706a87309bdae65625cb8be8ace35589a3a.tar.gz rsyslog-2f02a706a87309bdae65625cb8be8ace35589a3a.tar.xz rsyslog-2f02a706a87309bdae65625cb8be8ace35589a3a.zip |
bugfix(testbench): testcase did not properly wait for rsyslod shutdown
thus some unpredictable behavior and a false negative test result
could occur.
-rw-r--r-- | ChangeLog | 3 | ||||
-rwxr-xr-x | tests/imtcp-multiport.sh | 4 |
2 files changed, 7 insertions, 0 deletions
@@ -3,6 +3,9 @@ Version 5.3.4 [DEVEL] (rgerhards), 2009-10-?? - added the capability to have ruleset-specific main message queues This offers considerable additional flexibility AND superior performance (in cases where multiple inputs now can avoid lock contention) +- bugfix(testbench): testcase did not properly wait for rsyslod shutdown + thus some unpredictable behavior and a false negative test result + could occur. --------------------------------------------------------------------------- Version 5.3.3 [DEVEL] (rgerhards), 2009-10-27 - simplified and thus speeded up the queue engine, also fixed some diff --git a/tests/imtcp-multiport.sh b/tests/imtcp-multiport.sh index ad1f90a8..47a33cb9 100755 --- a/tests/imtcp-multiport.sh +++ b/tests/imtcp-multiport.sh @@ -7,11 +7,13 @@ # # added 2009-05-22 by Rgerhards # This file is part of the rsyslog project, released under GPLv3 +echo =============================================================================== echo \[imtcp-multiport.sh\]: testing imtcp multiple listeners source $srcdir/diag.sh init source $srcdir/diag.sh startup imtcp-multiport.conf source $srcdir/diag.sh tcpflood 127.0.0.1 13514 1 10000 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 9999 source $srcdir/diag.sh exit # @@ -23,6 +25,7 @@ source $srcdir/diag.sh init source $srcdir/diag.sh startup imtcp-multiport.conf source $srcdir/diag.sh tcpflood 127.0.0.1 13515 1 10000 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 9999 source $srcdir/diag.sh exit # @@ -34,5 +37,6 @@ source $srcdir/diag.sh init source $srcdir/diag.sh startup imtcp-multiport.conf source $srcdir/diag.sh tcpflood 127.0.0.1 13516 1 10000 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 9999 source $srcdir/diag.sh exit |