mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-16 20:20:41 +01:00
16 lines
687 B
Bash
Executable File
16 lines
687 B
Bash
Executable File
#!/bin/bash
|
|
# Test concurrency of message variables
|
|
# Added 2015-11-03 by rgerhards
|
|
# This file is part of the rsyslog project, released under ASL 2.0
|
|
export TCPFLOOD_EXTRA_OPTS="-M'msg:msg: 1:2, 3:4, 5:6, 7:8 b test'"
|
|
echo ===============================================================================
|
|
echo \[msgvar-concurrency-array.sh\]: testing concurrency of local variables
|
|
. $srcdir/diag.sh init
|
|
. $srcdir/diag.sh startup msgvar-concurrency-array.conf
|
|
sleep 1
|
|
. $srcdir/diag.sh tcpflood -m500000
|
|
. $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
|
|
. $srcdir/diag.sh wait-shutdown
|
|
#. $srcdir/diag.sh seq-check 0 499999
|
|
. $srcdir/diag.sh exit
|