summaryrefslogtreecommitdiffstats
path: root/tests/testsuites
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-04-01 15:11:16 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-04-01 15:11:16 +0200
commit1cba2162201e98a4a24a3eb19d168c81adf1bbd2 (patch)
treeb3860438eefb1766f17524b5618d1313c1b4934c /tests/testsuites
parent302ad02e7781892856c1cacaf98a87f90db9571c (diff)
downloadrsyslog-1cba2162201e98a4a24a3eb19d168c81adf1bbd2.tar.gz
rsyslog-1cba2162201e98a4a24a3eb19d168c81adf1bbd2.tar.xz
rsyslog-1cba2162201e98a4a24a3eb19d168c81adf1bbd2.zip
improvded testbench: added test with truly random data received via syslog to test robustness
Diffstat (limited to 'tests/testsuites')
-rw-r--r--tests/testsuites/random.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/testsuites/random.conf b/tests/testsuites/random.conf
new file mode 100644
index 00000000..a7079df1
--- /dev/null
+++ b/tests/testsuites/random.conf
@@ -0,0 +1,13 @@
+# we write to /dev/null, as we have no chance to verify the output
+# in any case. What we really check is that rsyslogd does not
+# segfault or otherwise abort.
+# rgerhards, 2010-04-01
+$IncludeConfig diag-common.conf
+
+$ModLoad ../plugins/imtcp/.libs/imtcp
+$MainMsgQueueTimeoutShutdown 10000
+$InputTCPServerRun 13514
+
+$template outfmt,"%rawmsg%\n"
+$template dynfile,"rsyslog.out.log" # trick to use relative path names!
+*.* /dev/null