summaryrefslogtreecommitdiffstats
path: root/tests/pmnormalize-neither_rule_rulebase.sh
blob: 091165d205caf8e1aee6ea2ac2b963db3b80d5d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
# add 2019-04-10 by Rainer Gerhards, released under ASL 2.0
. ${srcdir:=.}/diag.sh init
generate_conf
add_conf '
module(load="../plugins/pmnormalize/.libs/pmnormalize")
parser(name="custom.pmnormalize" type="pmnormalize")
action(type="omfile" file="'$RSYSLOG_OUT_LOG'")
'
startup
shutdown_when_empty
wait_shutdown
content_check --regex "pmnormalize:.*you need to specify either"

exit_test