summaryrefslogtreecommitdiffstats
path: root/tests/testruns/parser.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testruns/parser.conf')
-rw-r--r--tests/testruns/parser.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/testruns/parser.conf b/tests/testruns/parser.conf
new file mode 100644
index 00000000..a515ff6c
--- /dev/null
+++ b/tests/testruns/parser.conf
@@ -0,0 +1,10 @@
+$ModLoad ../plugins/omstdout/.libs/omstdout
+$ModLoad ../plugins/imuxsock/.libs/imuxsock
+$ModLoad ../plugins/imudp/.libs/imudp
+$UDPServerRun 514
+
+$ErrorMessagesToStderr off
+
+# use a special format that we can easily parse in expect
+$template expect,"{{%PRI%,%syslogtag%,%hostname%}}"
+*.* :omstdout:;expect