diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-12 13:21:46 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-12 13:21:46 +0100 |
commit | 0fd8143d8719d08d9feb0a304bb352dd7c4bbab6 (patch) | |
tree | b344fb400aabea95b2352ba13f51ae438a08d51a /tests/testsuites | |
parent | 22bf4fc83274df41f9d490f522718f248e35c1f5 (diff) | |
parent | 0a5b731f2f18168795bcdefd9b6fa562dce6a0d5 (diff) | |
download | rsyslog-0fd8143d8719d08d9feb0a304bb352dd7c4bbab6.tar.gz rsyslog-0fd8143d8719d08d9feb0a304bb352dd7c4bbab6.tar.xz rsyslog-0fd8143d8719d08d9feb0a304bb352dd7c4bbab6.zip |
Merge branch 'v4-stable' into v4-beta
Conflicts:
tests/Makefile.am
Diffstat (limited to 'tests/testsuites')
-rw-r--r-- | tests/testsuites/execonlyonce.conf | 12 | ||||
-rw-r--r-- | tests/testsuites/execonlyonce.data | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/testsuites/execonlyonce.conf b/tests/testsuites/execonlyonce.conf new file mode 100644 index 00000000..085b970e --- /dev/null +++ b/tests/testsuites/execonlyonce.conf @@ -0,0 +1,12 @@ +# see the equally-named .sh file for details +# rgerhards, 2009-11-12 +$IncludeConfig diag-common.conf + +$ModLoad ../plugins/imtcp/.libs/imtcp +$MainMsgQueueTimeoutShutdown 10000 +$InputTCPServerRun 13514 + +$template outfmt,"%msg:F,58:2%\n" +$template dynfile,"rsyslog.out.log" # trick to use relative path names! +$ActionExecOnlyOnceEveryInterval 3 +:msg, contains, "msgnum:" ?dynfile;outfmt diff --git a/tests/testsuites/execonlyonce.data b/tests/testsuites/execonlyonce.data new file mode 100644 index 00000000..3c54f3d4 --- /dev/null +++ b/tests/testsuites/execonlyonce.data @@ -0,0 +1,2 @@ +00000001 +00000100 |