summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/incltest.d
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-11-09 12:12:17 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-11-09 12:12:17 +0100
commitdc8f9b531c6c53af7a81a5a378ba1c1514f7a47c (patch)
tree67260a6aa41b605c0a5530dac6ffcf39ee177e51 /tests/testsuites/incltest.d
parentb05d4a6db4cc7a0e7a8f4efdb30c784f51b15f2e (diff)
downloadrsyslog-dc8f9b531c6c53af7a81a5a378ba1c1514f7a47c.tar.gz
rsyslog-dc8f9b531c6c53af7a81a5a378ba1c1514f7a47c.tar.bz2
rsyslog-dc8f9b531c6c53af7a81a5a378ba1c1514f7a47c.zip
bugfix: $IncludeConfig did not correctly process directories
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=376 The testbench was also enhanced to check for these cases. Thanks to Georgi Georgiev for the bug report. Also minor bugfix: no error msg on unreadable $IncludeConfig path
Diffstat (limited to 'tests/testsuites/incltest.d')
-rw-r--r--tests/testsuites/incltest.d/include.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testsuites/incltest.d/include.conf b/tests/testsuites/incltest.d/include.conf
new file mode 100644
index 00000000..39a2ea70
--- /dev/null
+++ b/tests/testsuites/incltest.d/include.conf
@@ -0,0 +1,2 @@
+$template outfmt,"%msg:F,58:2%\n"
+:msg, contains, "msgnum:" ./rsyslog.out.log;outfmt