diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-30 09:47:47 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-30 09:47:47 +0200 |
commit | feeb622c4e0c622559df803f8df6da39bf3015e7 (patch) | |
tree | c0d6b9b9355380b989f16a6a5431e6106263c063 /tests/testsuites | |
parent | 9821ef26fb2a50e16f7f46f503b42bed4f9bb143 (diff) | |
download | rsyslog-feeb622c4e0c622559df803f8df6da39bf3015e7.tar.gz rsyslog-feeb622c4e0c622559df803f8df6da39bf3015e7.tar.xz rsyslog-feeb622c4e0c622559df803f8df6da39bf3015e7.zip |
bugfix: discard action caused segfault
Diffstat (limited to 'tests/testsuites')
-rw-r--r-- | tests/testsuites/discard.conf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/testsuites/discard.conf b/tests/testsuites/discard.conf new file mode 100644 index 00000000..bbe2fe77 --- /dev/null +++ b/tests/testsuites/discard.conf @@ -0,0 +1,13 @@ +# Test for discard functionality +# rgerhards, 2009-07-30 +$IncludeConfig diag-common.conf + +$ModLoad ../plugins/imtcp/.libs/imtcp +$MainMsgQueueTimeoutShutdown 10000 +$InputTCPServerRun 13514 + +:msg, contains, "00000001" ~ + +$template outfmt,"%msg:F,58:2%\n" +$template dynfile,"rsyslog.out.log" # trick to use relative path names! +:msg, contains, "msgnum:" ?dynfile;outfmt |