mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-15 12:50:06 +01:00
Another fix for ancient systems.
This commit is contained in:
@@ -114,6 +114,7 @@ for file in $(ls $TST_DIR/bitlk-*) ; do
|
|||||||
$CRYPTSETUP status /dev/mapper/$MAP >/dev/null || fail
|
$CRYPTSETUP status /dev/mapper/$MAP >/dev/null || fail
|
||||||
uuid=$(lsblk -n -o UUID /dev/mapper/$MAP)
|
uuid=$(lsblk -n -o UUID /dev/mapper/$MAP)
|
||||||
$CRYPTSETUP remove $MAP || fail
|
$CRYPTSETUP remove $MAP || fail
|
||||||
|
blkid --list-filesystems | grep -i -q bitlocker || skip " Cannot check UUID (old blkid?)."
|
||||||
[ "$uuid" = "$UUID" ] || fail " UUID check failed."
|
[ "$uuid" = "$UUID" ] || fail " UUID check failed."
|
||||||
echo " [OK]"
|
echo " [OK]"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user