summaryrefslogtreecommitdiffstats
path: root/tests/queue_warnmsg-oversize.sh
blob: b3803e85c45e01baa9b65d2833da36dfb95de208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
# add 2019-04-18 by Rainer Gerhards, released under ASL 2.0
. ${srcdir:=.}/diag.sh init
generate_conf
add_conf '
action(type="omfile" file="'$RSYSLOG_OUT_LOG'"
       queue.type="linkedList" queue.size="500001")
'

startup
shutdown_when_empty
wait_shutdown
content_check --regex "warning.*queue.size=500001 is very large"

exit_test