Hi, I've fixed Alex's v5. changes v5->v6: * add test_file parameter to ima_check() (using global for function is ugly) * keep $TEST_FILE in ima_measurements.sh ] * add verify_measurement() (DRY) Alex Henrie (3): IMA: Move check_policy_writable() to ima_setup.sh and rename it IMA: Move ima_check to ima_setup.sh IMA: Add tests for uid, gid, fowner, and fgroup options runtest/ima | 1 + .../integrity/ima/tests/ima_conditionals.sh | 62 +++++++++++++++++++ .../integrity/ima/tests/ima_measurements.sh | 31 +--------- .../integrity/ima/tests/ima_policy.sh | 16 +---- .../security/integrity/ima/tests/ima_setup.sh | 38 ++++++++++++ 5 files changed, 106 insertions(+), 42 deletions(-) create mode 100755 testcases/kernel/security/integrity/ima/tests/ima_conditionals.sh -- 2.33.0