From 1044669b8d844b7d4370f466ce671af45f4d8f69 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 28 Jul 2022 01:43:38 +0200 Subject: [PATCH] test: notify sometimes fail, need to wait for syslogd to rotate Signed-off-by: Joachim Wiberg --- test/notify.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/notify.sh b/test/notify.sh index 637fed7..a048da0 100755 --- a/test/notify.sh +++ b/test/notify.sh @@ -30,6 +30,7 @@ MSG=$MSG$MSG$MSG$MSG$MSG$MSG$MSG$MSG$MSG$MSG logger ${MSG} logger 1${MSG} logger 2${MSG} +sleep 1 if [ -f "${LOG}.0" ] && grep 'script 1' "${NOT1STAMP}" &&