summaryrefslogtreecommitdiffstats
path: root/tests/queue_warnmsg-oversize.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/queue_warnmsg-oversize.sh')
-rwxr-xr-xtests/queue_warnmsg-oversize.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/queue_warnmsg-oversize.sh b/tests/queue_warnmsg-oversize.sh
new file mode 100755
index 0000000..b3803e8
--- /dev/null
+++ b/tests/queue_warnmsg-oversize.sh
@@ -0,0 +1,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