projects
/
platform
/
upstream
/
cryptsetup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
584d5b8
)
Add module load to test.
author
Milan Broz
<gmazyland@gmail.com>
Tue, 10 Jul 2012 08:15:40 +0000
(10:15 +0200)
committer
Milan Broz
<gmazyland@gmail.com>
Tue, 10 Jul 2012 08:15:40 +0000
(10:15 +0200)
tests/api-test.c
patch
|
blob
|
history
diff --git
a/tests/api-test.c
b/tests/api-test.c
index
0800d03
..
a96a31a
100644
(file)
--- a/
tests/api-test.c
+++ b/
tests/api-test.c
@@
-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) {