diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-11-22 11:05:45 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-11-22 11:05:45 +0100 |
commit | 42cd1fa7d786a020ef934ed71162f18b464d55bf (patch) | |
tree | 98ccb728030c6019669577172806ccc452c57af8 /tests/incltest_dir_empty_wildcard.sh | |
parent | 014c1818e6d103342199157c341d609741a24f42 (diff) | |
parent | 59c7a299e9907f81f0970d3523a47f4361466d08 (diff) | |
download | rsyslog-42cd1fa7d786a020ef934ed71162f18b464d55bf.tar.gz rsyslog-42cd1fa7d786a020ef934ed71162f18b464d55bf.tar.bz2 rsyslog-42cd1fa7d786a020ef934ed71162f18b464d55bf.zip |
Merge branch 'v7-stable'
Conflicts:
configure.ac
doc/manual.html
plugins/imfile/imfile.c
plugins/imklog/bsd.c
plugins/imklog/imklog.c
plugins/imklog/imklog.h
Diffstat (limited to 'tests/incltest_dir_empty_wildcard.sh')
-rwxr-xr-x | tests/incltest_dir_empty_wildcard.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/incltest_dir_empty_wildcard.sh b/tests/incltest_dir_empty_wildcard.sh new file mode 100755 index 00000000..6cdb3b21 --- /dev/null +++ b/tests/incltest_dir_empty_wildcard.sh @@ -0,0 +1,13 @@ +# This test checks if an empty includeConfig directory causes problems. It +# should not, as this is a valid situation that by default exists on many +# distros. +echo =============================================================================== +echo \[incltest_dir_empty_wildcard.sh\]: test $IncludeConfig for \"empty\" wildcard +source $srcdir/diag.sh init +source $srcdir/diag.sh startup incltest_dir_empty_wildcard.conf +# 100 messages are enough - the question is if the include is read ;) +source $srcdir/diag.sh injectmsg 0 100 +source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages +source $srcdir/diag.sh wait-shutdown +source $srcdir/diag.sh seq-check 0 99 +source $srcdir/diag.sh exit |