rsyslog/tests/stop-localvar.sh
Rainer Gerhards 2ba3c8ddde
testbench: modernize testbench plumbing
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.
2018-07-23 17:26:34 +02:00

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