blob: e47b52580cdfcefa6173ce35bc3cf25fc03dc03b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
# addd 2019-04-15 by RGerhards, released under ASL 2.0
. ${srcdir:=.}/diag.sh init
generate_conf
add_conf '
template(name="outfmt" type="plugin" plugin="RSYSLOG_TraditionalFileFormat")
action(type="omfile" template="outfmt" file="'$RSYSLOG_OUT_LOG'")
'
startup
injectmsg 0 1
shutdown_when_empty
wait_shutdown
content_check "Mar 1 01:00:00 172.20.245.8 tag msgnum:00000000:"
exit_test
|