summaryrefslogtreecommitdiffstats
path: root/tests/testsuites
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-04-26 12:53:37 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-04-26 12:53:37 +0200
commit270e455d6d9c6e7e580d6784435bf57ddc71bd85 (patch)
tree18c4b6005f386204cf204d6611c5e1d58e6891de /tests/testsuites
parent96895d9e471716f4a449589fefa9f80a0564755a (diff)
downloadrsyslog-270e455d6d9c6e7e580d6784435bf57ddc71bd85.tar.gz
rsyslog-270e455d6d9c6e7e580d6784435bf57ddc71bd85.tar.xz
rsyslog-270e455d6d9c6e7e580d6784435bf57ddc71bd85.zip
added testcase for problem with pipe without a reader
bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=186 Note that this adds the test case, but does not yet provide a solution (so make check will hang when executed). Fix will be done next.
Diffstat (limited to 'tests/testsuites')
-rw-r--r--tests/testsuites/pipe_noreader.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/testsuites/pipe_noreader.conf b/tests/testsuites/pipe_noreader.conf
new file mode 100644
index 00000000..63997760
--- /dev/null
+++ b/tests/testsuites/pipe_noreader.conf
@@ -0,0 +1,10 @@
+# simple async writing test
+# rgerhards, 2010-03-09
+$IncludeConfig diag-common.conf
+
+$ModLoad ../plugins/imtcp/.libs/imtcp
+$MainMsgQueueTimeoutShutdown 10000
+$InputTCPServerRun 13514
+
+$template outfmt,"%msg:F,58:2%\n"
+:msg, contains, "msgnum:" |./rsyslog.pipe