summaryrefslogtreecommitdiffstats
path: root/tests/testsuites
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-05 13:50:52 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-05 13:50:52 +0100
commit46cd79a781d41107814ef05efc588fa0b79151d1 (patch)
tree58a03d82f882a7a0dc20cce63238f094b284e0c6 /tests/testsuites
parent129eeca64bf2bd00ad85a3f1c4fbfa419231fa8d (diff)
downloadrsyslog-46cd79a781d41107814ef05efc588fa0b79151d1.tar.gz
rsyslog-46cd79a781d41107814ef05efc588fa0b79151d1.tar.xz
rsyslog-46cd79a781d41107814ef05efc588fa0b79151d1.zip
added file so far forgotten in git
Diffstat (limited to 'tests/testsuites')
-rw-r--r--tests/testsuites/diag-common2.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/testsuites/diag-common2.conf b/tests/testsuites/diag-common2.conf
new file mode 100644
index 00000000..94f7e87f
--- /dev/null
+++ b/tests/testsuites/diag-common2.conf
@@ -0,0 +1,16 @@
+# This is a config include file. It sets up rsyslog so that the
+# diag system can successfully be used. Also, it generates a file
+# "rsyslogd.started" after rsyslogd is initialized. This config file
+# should be included in all tests that intend to use common code for
+# controlling the daemon.
+# NOTE: we assume that rsyslogd's current working directory is
+# ./tests (or the distcheck equivalent), in particlular that this
+# config file resides in the testsuites subdirectory.
+# rgerhards, 2009-05-27
+$ModLoad ../plugins/imdiag/.libs/imdiag
+$IMDiagServerRun 13501
+
+$template startupfile,"rsyslogd2.started" # trick to use relative path names!
+:syslogtag, contains, "rsyslogd" ?startupfile
+
+$ErrorMessagesToStderr off