We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aac97cc commit a5c4714Copy full SHA for a5c4714
testcases/kernel/security/integrity/ima/tests/ima_measurements.sh
@@ -77,6 +77,11 @@ test3()
77
tst_res TINFO "verify not measuring user files"
78
tst_check_cmds sudo || return
79
80
+ if [ "$IMA_POLICY_CHECKED" != 1 ]; then
81
+ tst_res TCONF "test requires specific policy, try load it with LTP_IMA_LOAD_POLICY=1"
82
+ return
83
+ fi
84
+
85
if ! id $user >/dev/null 2>/dev/null; then
86
tst_res TCONF "missing system user $user (wrong installation)"
87
return
0 commit comments