summaryrefslogtreecommitdiffstats
path: root/tests/parsertest.sh
blob: 8e04b95e09f42dcb34f46d5a28e78ec2a2ab4bfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
echo test parsertest via udp
$srcdir/killrsyslog.sh # kill rsyslogd if it runs for some reason

echo test parsertest via tcp
./nettester -tparse1 -itcp
if [ "$?" -ne "0" ]; then
  exit 1
fi

./nettester -tparse1 -iudp
if [ "$?" -ne "0" ]; then
  exit 1
fi