From: Richard Maw Date: Tue, 5 Dec 2023 18:09:18 +0000 (+0000) Subject: test: slacken plugged -> dead test X-Git-Tag: v256-rc1~1467^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0129395173773574cca07523797df18980baf7ff;p=thirdparty%2Fsystemd.git 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. --- 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