From 0129395173773574cca07523797df18980baf7ff Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Tue, 5 Dec 2023 18:09:18 +0000 Subject: [PATCH] test: slacken plugged -> dead test This test is for if devices transition from plugged -> dead -> plugged on boot, but it is normal to see loop devices transition plugged -> dead on first boot when systemd-repart adds the root partition. --- test/units/testsuite-31.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/units/testsuite-31.sh b/test/units/testsuite-31.sh index 03aba36ab83..5e993022990 100755 --- a/test/units/testsuite-31.sh +++ b/test/units/testsuite-31.sh @@ -3,7 +3,7 @@ set -eux set -o pipefail -if journalctl -b -t systemd --grep '\.device: Changed plugged -> dead'; then +if journalctl -b -t systemd --grep '(? dead'; then exit 1 fi -- 2.47.3