From d6370aeb1f22f99b8d877971060241edebc369ff Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 13 Nov 2019 08:31:36 +0100 Subject: [PATCH] Follow-up to 69608f7: Update API test with TAG formatting change Signed-off-by: Joachim Nilsson --- test/api.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/api.sh b/test/api.sh index 1ac1e38..2235938 100755 --- a/test/api.sh +++ b/test/api.sh @@ -9,7 +9,7 @@ export MSG="no-openlog-apitest" echo "= Phase 1 - simple syslog(), no openlog() ===============" ./api -grep "api ${MSG}" ${LOG} +grep "api: ${MSG}" ${LOG} echo "= Phase 2 - syslog() with openlog() & custom facility ===" cat <${CONFD}/console.conf @@ -19,11 +19,11 @@ kill -HUP `cat ${PID}` sleep 2 ./api -i foo -grep "foo ${MSG}" ${LOGCONS} +grep "foo: ${MSG}" ${LOGCONS} echo "= Phase 3 - Verify setlogmask() filters out LOG_INFO ====" ./api -i xyzzy -l -grep "xyzzy ${MSG}" ${LOGCONS} || true +grep "xyzzy: ${MSG}" ${LOGCONS} || true echo "= Phase 4 - Verify RFC5424 API with syslogp() ===========" cat <${CONFD}/v1.conf