Skip to content

Commit

Permalink
Merge pull request #102 from asamalik/journalctl-sleep-fix
Browse files Browse the repository at this point in the history
Add sleep to 25-journalctl to prevent random fails
  • Loading branch information
arrfab authored Oct 16, 2023
2 parents bcc4db0 + f0cdbf8 commit 8207420
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/p_systemd/25-journalctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ fi
teststring=098f6bcd4621d373cade4e832627b4f6
timenow=$(date +'%T')
echo ${teststring} > /dev/kmsg
sleep 1
journalctl --since ${timenow} | grep -q ${teststring}

t_CheckExitStatus $?
t_CheckExitStatus $?

0 comments on commit 8207420

Please sign in to comment.