diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-19 11:42:31 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-19 11:42:31 +0100 |
commit | 4aa409ffe508509a10f8a69a674d49349d365c42 (patch) | |
tree | 2bf2f0b688628ae609b7647e65d49ae929dfc064 /tests/stop-localvar.sh | |
parent | de652e16a83e8e53f63b81caa0bcc0d7fbc04263 (diff) | |
download | rsyslog-4aa409ffe508509a10f8a69a674d49349d365c42.tar.gz rsyslog-4aa409ffe508509a10f8a69a674d49349d365c42.tar.bz2 rsyslog-4aa409ffe508509a10f8a69a674d49349d365c42.zip |
testbench: add new test
Diffstat (limited to 'tests/stop-localvar.sh')
-rwxr-xr-x | tests/stop-localvar.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/stop-localvar.sh b/tests/stop-localvar.sh new file mode 100755 index 00000000..91573013 --- /dev/null +++ b/tests/stop-localvar.sh @@ -0,0 +1,12 @@ +# Test for "stop" statement +# This file is part of the rsyslog project, released under ASL 2.0 +echo =============================================================================== +echo \[stop-localvar.sh\]: testing stop statement together with local variables +source $srcdir/diag.sh init +source $srcdir/diag.sh startup stop-localvar.conf +sleep 1 +source $srcdir/diag.sh tcpflood -m2000 -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 100 999 +source $srcdir/diag.sh exit |