Be sure verity module is loaded in test.
authorMilan Broz <gmazyland@gmail.com>
Mon, 23 Jul 2012 13:00:28 +0000 (15:00 +0200)
committerMilan Broz <gmazyland@gmail.com>
Mon, 23 Jul 2012 13:00:28 +0000 (15:00 +0200)
tests/verity-compat-test

index ddb7398..813dcdb 100755 (executable)
@@ -153,6 +153,7 @@ function valgrind_run()
 [ ! -x "$VERITYSETUP" ] && skip "Cannot find $VERITYSETUP, test skipped."
 
 [ -n "$VALG" ] && valgrind_setup && VERITYSETUP=valgrind_run
+modprobe dm-verity >/dev/null 2>&1
 
 # VERITYSETUP tests