summaryrefslogtreecommitdiffstats
path: root/tests/omusrmsg-errmsg-no-params.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtests/omusrmsg-errmsg-no-params.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/omusrmsg-errmsg-no-params.sh b/tests/omusrmsg-errmsg-no-params.sh
new file mode 100755
index 0000000..d6e4354
--- /dev/null
+++ b/tests/omusrmsg-errmsg-no-params.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+# add 2019-08-05 by Rainer Gerhards, released under ASL 2.0
+. ${srcdir:=.}/diag.sh init
+generate_conf
+add_conf '
+action(type="omusrmsg")
+action(type="omfile" file="'$RSYSLOG_OUT_LOG'")
+'
+
+startup
+shutdown_when_empty
+wait_shutdown
+content_check "parameter 'users' required but not specified"
+exit_test