[LTP] [RFC PATCH 2/2] security/ima: Run measurements after policy

Cyril Hrubis chrubis@suse.cz
Fri Jan 26 14:11:45 CET 2018


Hi!
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
>  runtest/ima | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/runtest/ima b/runtest/ima
> index 20d2e0810..3462d12b1 100644
> --- a/runtest/ima
> +++ b/runtest/ima
> @@ -1,5 +1,5 @@
>  #DESCRIPTION:Integrity Measurement Architecture (IMA)
> -ima01 ima_measurements.sh
> -ima02 ima_policy.sh
> +ima01 ima_policy.sh
> +ima02 ima_measurements.sh
>  ima03 ima_tpm.sh
>  ima04 ima_violations.sh

Uh, depending on order of testcases in runtest file is broken anyways,
what is the real problem here?

Also I suppose that we may as well rename the test ids (e.g. ima01) to
match the shell script name, since I find it more descriptive.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list