rsyslog/tests/fieldtest.sh
Rainer Gerhards eb1615068c added new testing module imdiag
which enables to talk to the rsyslog core at runtime. The current
implementation is only a beginning, but can be expanded over time
2009-05-25 10:47:22 +02:00

14 lines
254 B
Bash
Executable File

echo 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