diff options
author | Michael Biebl <biebl@debian.org> | 2012-11-21 17:23:23 +0100 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2012-11-21 17:23:23 +0100 |
commit | 1796f8e02b6d0bc29ab65427d2ebf97f82f41999 (patch) | |
tree | b095bd5faf13d6a48cc5ddc18891338931c5a273 /tests/incltest_dir_empty_wildcard.sh | |
parent | 792f31fe29bef0c9960d3951f266fc7b2c70a2fc (diff) | |
download | rsyslog-1796f8e02b6d0bc29ab65427d2ebf97f82f41999.tar.gz |
Imported Upstream version 7.2.3upstream/7.2.3
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 0000000..6cdb3b2 --- /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 |