Fix #39: update tests to use -P fn and -C fn

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2021-06-30 23:00:09 +02:00
parent e381bc3620
commit 9ce3c2e8ec
5 changed files with 12 additions and 9 deletions

View File

@@ -9,16 +9,16 @@ fi
MSG="fwd and allow"
cat <<EOF >${CONFD}/fwd.conf
ntp.* @127.0.0.2:${PORT2} ;RFC5424
kern.* /dev/null
ntp.* @127.0.0.2:${PORT2} ;RFC5424
EOF
cat <<EOF >${CONFD2}/50-default.conf
kern.* /dev/null
*.*;kern.none ${LOG2} ;RFC5424
*.*;kern.none ${LOG2} ;RFC5424
EOF
../src/syslogd -a 127.0.0.2:* -b :${PORT2} -d -F -f ${CONF2} -p ${SOCK2} -m1 &
echo "$!" > ${PID2}
../src/syslogd -a 127.0.0.2:* -b :${PORT2} -d -F -f ${CONF2} -p ${SOCK2} -m1 -C ${CACHE2} -P ${PID2} &
kill -HUP `cat ${PID}`
sleep 2