From dbdc1cdf916ea5298db739b55a302450738eae41 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Fri, 15 Jan 2021 09:40:31 +0100 Subject: [PATCH] test: Update fwd.sh to ignore kernel logs With the new support for /dev/kmsg the tests can run on a system that already has a syslog daemon, and still receive all kernel messages. We want to ignore those in this (all?) tests and focus on the forwarding of messages between two sysklogd. Signed-off-by: Joachim Wiberg --- test/fwd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/fwd.sh b/test/fwd.sh index 31c568f..6410684 100755 --- a/test/fwd.sh +++ b/test/fwd.sh @@ -13,7 +13,8 @@ ntp.* @127.0.0.2:${PORT2} ;RFC5424 EOF cat <${CONFD2}/50-default.conf -*.* ${LOG2} ;RFC5424 +kern.* /dev/null +*.*;kern.none ${LOG2} ;RFC5424 EOF ../src/syslogd -a 127.0.0.2:* -b :${PORT2} -d -F -f ${CONF2} -p ${SOCK2} -m1 &