mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-12 11:20:10 +01:00
Add module load to test.
This commit is contained in:
@@ -1649,6 +1649,7 @@ static void VerityTest(void)
|
||||
OK_(crypt_set_data_device(cd, DEVICE_1));
|
||||
FAIL_(crypt_activate_by_volume_key(cd, NULL, root_hash, 32, 0), "Data corrupted");;
|
||||
|
||||
_system("modprobe dm-verity", 0);
|
||||
OK_(crypt_set_data_device(cd, DEVICE_EMPTY));
|
||||
if (crypt_activate_by_volume_key(cd, CDEVICE_1, root_hash, 32,
|
||||
CRYPT_ACTIVATE_READONLY) == -ENOTSUP) {
|
||||
|
||||
Reference in New Issue
Block a user