From: Lennart Poettering Date: Mon, 17 Nov 2025 15:43:21 +0000 (+0100) Subject: test: add testcase for VolumeLabel= X-Git-Tag: v259-rc1~6^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d24626631a54a599631284b454c761bb7697abe;p=thirdparty%2Fsystemd.git test: add testcase for VolumeLabel= --- diff --git a/test/units/TEST-58-REPART.sh b/test/units/TEST-58-REPART.sh index 251c3374255..6ae6ec5a292 100755 --- a/test/units/TEST-58-REPART.sh +++ b/test/units/TEST-58-REPART.sh @@ -123,6 +123,7 @@ last-lba: 2097118" tee "$defs/root.conf" </dev/null umount "$imgs/mount" + + # Validate that the VolumeLabel= had the desired effect + PASSWORD="" systemd-dissect "$imgs/zzz" -M "$imgs/mount" + udevadm info /dev/disk/by-label/schrupfel | grep -q ID_FS_TYPE=crypto_LUKS + systemd-dissect -U "$imgs/mount" } testcase_dropin() {