summaryrefslogtreecommitdiffstats
path: root/tests/omod-if-array.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/omod-if-array.sh')
-rwxr-xr-xtests/omod-if-array.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/omod-if-array.sh b/tests/omod-if-array.sh
new file mode 100755
index 00000000..2c2a8ef3
--- /dev/null
+++ b/tests/omod-if-array.sh
@@ -0,0 +1,14 @@
+echo test omod-if-array via udp
+$srcdir/killrsyslog.sh # kill rsyslogd if it runs for some reason
+
+./nettester -tomod-if-array -iudp -p4711
+if [ "$?" -ne "0" ]; then
+ exit 1
+fi
+
+echo test omod-if-array via tcp
+./nettester -tomod-if-array -itcp
+if [ "$?" -ne "0" ]; then
+ exit 1
+fi
+