mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 17:20:42 +01:00
Also a couple of changes to testbench worth mentioning: * use cp -f to ensure files can be overwirtten in VBUILD * fix issue of missing include test file in EXTRA_DIST * new supressions * testbench: try to use local system dependency cache avoid going to Internet repos if not absolutely necessary. For development containers, they should be pre-populated with the important dependencies. * do not enable libfaketime if ASAN is selected unfortunately, libfaketime does not work in that case see also https://github.com/rsyslog/rsyslog/issues/174
13 lines
465 B
Bash
Executable File
13 lines
465 B
Bash
Executable File
#!/bin/bash
|
|
. $srcdir/diag.sh init
|
|
. $srcdir/diag.sh generate-conf
|
|
. $srcdir/diag.sh add-conf "\$IncludeConfig ${srcdir}/testsuites/incltest.d/include.conf
|
|
"
|
|
. $srcdir/diag.sh startup
|
|
# 100 messages are enough - the question is if the include is read ;)
|
|
. $srcdir/diag.sh injectmsg 0 100
|
|
. $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
|
|
. $srcdir/diag.sh wait-shutdown
|
|
. $srcdir/diag.sh seq-check 0 99
|
|
. $srcdir/diag.sh exit
|