diff options
Diffstat (limited to 'tests/incltest_dir_wildcard.sh')
-rwxr-xr-x | tests/incltest_dir_wildcard.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/incltest_dir_wildcard.sh b/tests/incltest_dir_wildcard.sh new file mode 100755 index 0000000..376ab4e --- /dev/null +++ b/tests/incltest_dir_wildcard.sh @@ -0,0 +1,12 @@ +#!/bin/bash +. ${srcdir:=.}/diag.sh init +generate_conf +add_conf "include(file=\"${srcdir}/testsuites/incltest.d/*.conf\") +" +startup +# 100 messages are enough - the question is if the include is read ;) +injectmsg 0 100 +shutdown_when_empty # shut down rsyslogd when done processing messages +wait_shutdown +seq_check 0 99 +exit_test |