summaryrefslogtreecommitdiffstats
path: root/tests/omod-if-array.sh
blob: 2c2a8ef33682f57b80cf5504cd4f47b2fdd337ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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