summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/failover-basic.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuites/failover-basic.conf')
-rw-r--r--tests/testsuites/failover-basic.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/testsuites/failover-basic.conf b/tests/testsuites/failover-basic.conf
new file mode 100644
index 00000000..a858769c
--- /dev/null
+++ b/tests/testsuites/failover-basic.conf
@@ -0,0 +1,8 @@
+# see the equally-named .sh file for details
+$IncludeConfig diag-common.conf
+
+$template outfmt,"%msg:F,58:2%\n"
+# note: the target server shall not be available!
+:msg, contains, "msgnum:" @@127.0.0.1:13514
+$ActionExecOnlyWhenPreviousIsSuspended on
+& ./rsyslog.out.log;outfmt