test: notify sometimes fail, need to wait for syslogd to rotate

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg 2022-07-28 01:43:38 +02:00
parent 3086637768
commit 1044669b8d

View File

@ -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}" &&