diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-09 11:28:22 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-09 11:28:22 +0100 |
commit | d1ae9e393885fb6d9fc69fc1bb08a098a8ac0328 (patch) | |
tree | 102a950a54b0bd06cab47ed15541c1d52f4d18d0 /tests/testsuites | |
parent | 53afa44de8d7796df46a12d66fd9866165779d94 (diff) | |
download | rsyslog-d1ae9e393885fb6d9fc69fc1bb08a098a8ac0328.tar.gz rsyslog-d1ae9e393885fb6d9fc69fc1bb08a098a8ac0328.tar.xz rsyslog-d1ae9e393885fb6d9fc69fc1bb08a098a8ac0328.zip |
improved testbench
Diffstat (limited to 'tests/testsuites')
-rw-r--r-- | tests/testsuites/discard-allmark.conf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/testsuites/discard-allmark.conf b/tests/testsuites/discard-allmark.conf new file mode 100644 index 00000000..8a4983c1 --- /dev/null +++ b/tests/testsuites/discard-allmark.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 + +$ActionWriteAllMarkMessages 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 |