test: Sender randomizes port, allow any in FWD test syslogd

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-11-15 09:11:25 +01:00
parent 6bf74351c7
commit 245dea43bc

View File

@ -16,7 +16,7 @@ cat <<EOF >${CONFD2}/50-default.conf
*.* ${LOG2} ;RFC5424 *.* ${LOG2} ;RFC5424
EOF EOF
../src/syslogd -a 127.0.0.2:${PORT} -b :${PORT2} -d -F -f ${CONF2} -p ${SOCK2} & ../src/syslogd -a 127.0.0.2:* -b :${PORT2} -d -F -f ${CONF2} -p ${SOCK2} &
echo "$!" > ${PID2} echo "$!" > ${PID2}
kill -HUP `cat ${PID}` kill -HUP `cat ${PID}`