summaryrefslogtreecommitdiffstats
path: root/tests/sndrcv_omudpspoof.sh
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-12 11:24:52 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-12 11:24:52 +0100
commit20f1c9c502beadcc5c6e549c31795e538484ec4f (patch)
tree4b8d46739e02dbbae64e0d2e7fa0b643642a3f89 /tests/sndrcv_omudpspoof.sh
parent09ed2f1a7a3d28400ce0a0e94ef00e0bb26883fd (diff)
downloadrsyslog-20f1c9c502beadcc5c6e549c31795e538484ec4f.tar.gz
rsyslog-20f1c9c502beadcc5c6e549c31795e538484ec4f.tar.xz
rsyslog-20f1c9c502beadcc5c6e549c31795e538484ec4f.zip
improved testbench: added tests for UDP forwarding and omudpspoof
Diffstat (limited to 'tests/sndrcv_omudpspoof.sh')
-rwxr-xr-xtests/sndrcv_omudpspoof.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/sndrcv_omudpspoof.sh b/tests/sndrcv_omudpspoof.sh
new file mode 100755
index 00000000..bb804d93
--- /dev/null
+++ b/tests/sndrcv_omudpspoof.sh
@@ -0,0 +1,10 @@
+# This runs sends and receives messages via UDP to the standard
+# ports. Note that with UDP we can always have message loss. While this is
+# less likely in a local environment, we strongly limit the amount of data
+# we send in the hope to not lose any messages. However, failure of this
+# test does not necessarily mean that the code is wrong (but it is very likely!)
+# added 2009-11-11 by Rgerhards
+# This file is part of the rsyslog project, released under GPLv3
+echo ===============================================================================
+echo \[sndrcv_omudpspoof.sh\]: testing sending and receiving via omudp
+source $srcdir/sndrcv_drvr.sh sndrcv_omudpspoof 50