Skip to content

Commit

Permalink
ima_setup.sh: Remove test specific info in common function
Browse files Browse the repository at this point in the history
require_ima_policy_cmdline() is used in other tests than just in
ima_measurements.sh, remove misleading test specific info from TINFO
message.

Fixes: 28e3974 ("ima/ima_measurements.sh: Require builtin IMA tcb policy")
Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Dec 31, 2024
1 parent 431be80 commit 2ecb531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testcases/kernel/security/integrity/ima/tests/ima_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ require_ima_policy_cmdline()
local policy="$1"

check_ima_policy_cmdline $policy || \
tst_brk TCONF "IMA measurement tests require builtin IMA $policy policy (e.g. ima_policy=$policy kernel parameter)"
tst_brk TCONF "test requires builtin IMA $policy policy (e.g. ima_policy=$policy kernel command line parameter)"
}

mount_helper()
Expand Down

0 comments on commit 2ecb531

Please sign in to comment.