summaryrefslogtreecommitdiffstats
path: root/tests/sndrcv_gzip.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-11 14:12:09 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-11 14:12:09 +0100
commit22bf4fc83274df41f9d490f522718f248e35c1f5 (patch)
tree84d47bf9e689a808012c0402501664d1f9da4ce1 /tests/sndrcv_gzip.sh
parenta9cf6e0e92184bc26e5d967f23b8803091b69e6a (diff)
downloadrsyslog-22bf4fc83274df41f9d490f522718f248e35c1f5.tar.gz
rsyslog-22bf4fc83274df41f9d490f522718f248e35c1f5.tar.xz
rsyslog-22bf4fc83274df41f9d490f522718f248e35c1f5.zip
somewhat enhanced test suite
also prepared test case for TLS testing, but not activated it inside the build itself. A note on TLS testing: the current testsuite (in git!) already contains TLS test cases. However, getting these test cases correct is not simple. That's not a problem with the code itself, but rater a problem with synchronization in the test environment. So I have deciced to keep the TLS tests in, but not yet actually utilize them. This is most probably left as an excercise for future (devel) releases.
Diffstat (limited to 'tests/sndrcv_gzip.sh')
-rwxr-xr-xtests/sndrcv_gzip.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/sndrcv_gzip.sh b/tests/sndrcv_gzip.sh
new file mode 100755
index 00000000..4931f3d0
--- /dev/null
+++ b/tests/sndrcv_gzip.sh
@@ -0,0 +1,7 @@
+# This test is similar to tcpsndrcv, but it forwards messages in
+# zlib-compressed format (our own syslog extension).
+# rgerhards, 2009-11-11
+# This file is part of the rsyslog project, released under GPLv3
+echo ===============================================================================
+echo \[sndrcv_gzip.sh\]: testing sending and receiving via tcp in zlib mode
+source $srcdir/sndrcv_drvr.sh sndrcv_gzip 50000