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
19 lines
548 B
Bash
Executable File
19 lines
548 B
Bash
Executable File
#!/bin/bash
|
|
# added 2018-01-22 by Rainer Gerhards; Released under ASL 2.0
|
|
. $srcdir/diag.sh init
|
|
. $srcdir/diag.sh generate-conf
|
|
. $srcdir/diag.sh add-conf '
|
|
template(name="outfmt" type="string" string="%msg:F,58:2%\n")
|
|
|
|
if $msg contains "msgnum:" then {'
|
|
. $srcdir/diag.sh add-conf "
|
|
include(text=\`cat ${srcdir}/testsuites/include-std-omfile-action.conf\`)
|
|
}
|
|
"
|
|
. $srcdir/diag.sh startup
|
|
. $srcdir/diag.sh injectmsg 0 10
|
|
. $srcdir/diag.sh shutdown-when-empty
|
|
. $srcdir/diag.sh wait-shutdown
|
|
. $srcdir/diag.sh seq-check 0 9
|
|
. $srcdir/diag.sh exit
|