rsyslog/tests/incltest_dir_wildcard.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

13 lines
340 B
Bash
Executable File

#!/bin/bash
. $srcdir/diag.sh init
generate_conf
add_conf "include(file=\"${srcdir}/testsuites/incltest.d/*.conf\")
"
startup
# 100 messages are enough - the question is if the include is read ;)
. $srcdir/diag.sh injectmsg 0 100
shutdown_when_empty # shut down rsyslogd when done processing messages
wait_shutdown
seq_check 0 99
exit_test