From f0cdbf8564a44c6196ee4e88e5bb218c931435da Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Oct 04 2023 09:43:37 +0000 Subject: Add sleep to 25-journalctl to prevent random fails --- diff --git a/tests/p_systemd/25-journalctl.sh b/tests/p_systemd/25-journalctl.sh index ea44a3d..8325a00 100755 --- a/tests/p_systemd/25-journalctl.sh +++ b/tests/p_systemd/25-journalctl.sh @@ -12,6 +12,7 @@ fi teststring=098f6bcd4621d373cade4e832627b4f6 timenow=$(date +'%T') echo ${teststring} > /dev/kmsg +sleep 1 journalctl --since ${timenow} | grep -q ${teststring} -t_CheckExitStatus $? \ No newline at end of file +t_CheckExitStatus $?