mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-13 04:50:41 +01:00
changes some of the test commands to use bash functions includes some small bug fixes to tests where bugs were previously not seen due to different plumbing.
14 lines
482 B
Bash
Executable File
14 lines
482 B
Bash
Executable File
#!/bin/bash
|
|
# 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
|
|
. $srcdir/diag.sh init
|
|
startup stop-localvar.conf
|
|
sleep 1
|
|
. $srcdir/diag.sh tcpflood -m2000 -i1
|
|
shutdown_when_empty # shut down rsyslogd when done processing messages
|
|
wait_shutdown
|
|
seq_check 100 999
|
|
exit_test
|