Hi Petr, > > - "log" is created in the test working directory by > > check_policy_writable() and load_ima_policy() and is never removed. > False positive - file is removed during cleanup of the temporary directory > because all tests use TST_NEEDS_TMPDIR=1. > > > - $IMA_POLICY is expanded unquoted throughout ima_setup.sh. > False positive - /sys/kernel/security/ima/policy does not need to be quoted.
this is kinda normal (unfortunately). As you can see the amount of rules for shell tests is really basic and it doesn't cover many cases: https://github.com/linux-test-project/ltp-agent/blob/master/rules/shell-tests.md Feel free to create a PR to avoid these false positive. -- Andrea Cervesato SUSE QE Automation Engineer Linux [email protected]
