test: notify sometimes fail, need to wait for syslogd to rotate
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
3086637768
commit
1044669b8d
@ -30,6 +30,7 @@ MSG=$MSG$MSG$MSG$MSG$MSG$MSG$MSG$MSG$MSG$MSG
|
|||||||
logger ${MSG}
|
logger ${MSG}
|
||||||
logger 1${MSG}
|
logger 1${MSG}
|
||||||
logger 2${MSG}
|
logger 2${MSG}
|
||||||
|
sleep 1
|
||||||
|
|
||||||
if [ -f "${LOG}.0" ] &&
|
if [ -f "${LOG}.0" ] &&
|
||||||
grep 'script 1' "${NOT1STAMP}" &&
|
grep 'script 1' "${NOT1STAMP}" &&
|
||||||
|
Loading…
Reference in New Issue
Block a user