summaryrefslogtreecommitdiffstats
path: root/tests/parsertest.sh
blob: afdb946997493f8aee41cf07c307dfddd2698ec8 (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

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

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