mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 13:10:43 +01:00
Most of the tests will not work in other default shells like on Freebsd or Solaris. So we make /bin/bash default now.
23 lines
549 B
Bash
Executable File
23 lines
549 B
Bash
Executable File
#!/bin/bash
|
|
echo \[inputname.sh\]: testing $InputTCPServerInputName directive
|
|
$srcdir/killrsyslog.sh # kill rsyslogd if it runs for some reason
|
|
. $srcdir/diag.sh generate-HOSTNAME
|
|
|
|
echo port 12514
|
|
./nettester -tinputname_imtcp_12514 -cinputname_imtcp -itcp -p12514
|
|
if [ "$?" -ne "0" ]; then
|
|
exit 1
|
|
fi
|
|
|
|
echo port 12515
|
|
./nettester -tinputname_imtcp_12515 -cinputname_imtcp -itcp -p12515
|
|
if [ "$?" -ne "0" ]; then
|
|
exit 1
|
|
fi
|
|
|
|
echo port 12516
|
|
./nettester -tinputname_imtcp_12516 -cinputname_imtcp -itcp -p12516
|
|
if [ "$?" -ne "0" ]; then
|
|
exit 1
|
|
fi
|