mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
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.
This commit is contained in:
@@ -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 '(?<!loop.|diskseq-.)\.device: Changed plugged -> dead'; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user