diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-08 18:18:14 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-08 18:18:14 +0100 |
commit | 5d3783b0c0449df1d4d1b0d38ce35dc2995ce22a (patch) | |
tree | f4f6f149d46294d329d55a2a8b3226c0fb56cc6b /tests/testsuites | |
parent | 5709b056c5be16df1f1a2369a737e40711f20979 (diff) | |
download | rsyslog-5d3783b0c0449df1d4d1b0d38ce35dc2995ce22a.tar.gz rsyslog-5d3783b0c0449df1d4d1b0d38ce35dc2995ce22a.tar.xz rsyslog-5d3783b0c0449df1d4d1b0d38ce35dc2995ce22a.zip |
added new test to testbench
Diffstat (limited to 'tests/testsuites')
-rw-r--r-- | tests/testsuites/discard-rptdmsg.conf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/testsuites/discard-rptdmsg.conf b/tests/testsuites/discard-rptdmsg.conf new file mode 100644 index 00000000..74060e31 --- /dev/null +++ b/tests/testsuites/discard-rptdmsg.conf @@ -0,0 +1,15 @@ +# Test for discard functionality +# rgerhards, 2009-07-30 +$IncludeConfig diag-common.conf + +$ModLoad ../plugins/imtcp/.libs/imtcp +$MainMsgQueueTimeoutShutdown 10000 +$InputTCPServerRun 13514 + +$RepeatedMsgReduction on + +: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 |