blob: 9875fda65eb207b7a8456cf10cb5905ddc272090 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
echo \[fieldtest.sh\]: test fieldtest via udp
$srcdir/killrsyslog.sh # kill rsyslogd if it runs for some reason
./nettester -tfield1 -iudp
if [ "$?" -ne "0" ]; then
exit 1
fi
echo test fieldtest via tcp
./nettester -tfield1 -itcp
if [ "$?" -ne "0" ]; then
exit 1
fi
|