mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 01:40:42 +01:00
15 lines
313 B
Bash
Executable File
15 lines
313 B
Bash
Executable File
echo \[fieldtest.sh\]: test fieldtest via udp
|
|
$srcdir/killrsyslog.sh # kill rsyslogd if it runs for some reason
|
|
source $srcdir/diag.sh generate-HOSTNAME
|
|
|
|
./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
|