summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/incltest_dir_empty_wildcard.conf
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-11-20 14:31:35 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-11-20 14:31:35 +0100
commit4a857f4629d5ca4ff4c59875bc798e70b1811ba9 (patch)
treed5ed999b663d9411fc163b5ff5669ac140a104c2 /tests/testsuites/incltest_dir_empty_wildcard.conf
parent9c25e344f2734c7f82fdad43c2fd88e91b27c315 (diff)
downloadrsyslog-4a857f4629d5ca4ff4c59875bc798e70b1811ba9.tar.gz
rsyslog-4a857f4629d5ca4ff4c59875bc798e70b1811ba9.tar.bz2
rsyslog-4a857f4629d5ca4ff4c59875bc798e70b1811ba9.zip
improve $IncludeConfig error messages
Diffstat (limited to 'tests/testsuites/incltest_dir_empty_wildcard.conf')
-rw-r--r--tests/testsuites/incltest_dir_empty_wildcard.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/testsuites/incltest_dir_empty_wildcard.conf b/tests/testsuites/incltest_dir_empty_wildcard.conf
new file mode 100644
index 00000000..5e750c5b
--- /dev/null
+++ b/tests/testsuites/incltest_dir_empty_wildcard.conf
@@ -0,0 +1,11 @@
+# see .sh file for description
+# rgerhards, 2009-11-30
+$IncludeConfig diag-common.conf
+
+# the following include leads to no files actually being included
+# but MUST NOT abort rsyslog's startup sequence. No files matching
+# the wildcard is valid (as long as the path exists)!
+$IncludeConfig testsuites/incltest.d/*.conf-not-there
+
+$template outfmt,"%msg:F,58:2%\n"
+:msg, contains, "msgnum:" ./rsyslog.out.log;outfmt