diff options
author | KP Singh <[email protected]> | 2020-11-26 18:49:46 +0000 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-11-30 22:56:32 +0100 |
commit | 854055c0cf30d732b3514ce7956976f60496b1a1 (patch) | |
tree | a6e0e3c859b988a922b50fd2a1d96f36c2c17b49 /fs/fs_struct.c | |
parent | bb1b25cab04324d0749f7ae22653aff58157bf83 (diff) |
selftests/bpf: Fix flavored variants of test_ima
Flavored variants of test_progs (e.g. test_progs-no_alu32) change their
working directory to the corresponding subdirectory (e.g. no_alu32).
Since the setup script required by test_ima (ima_setup.sh) is not
mentioned in the dependencies, it does not get copied to these
subdirectories and causes flavored variants of test_ima to fail.
Adding the script to TRUNNER_EXTRA_FILES ensures that the file is also
copied to the subdirectories for the flavored variants of test_progs.
Fixes: 34b82d3ac105 ("bpf: Add a selftest for bpf_ima_inode_hash")
Reported-by: Yonghong Song <[email protected]>
Suggested-by: Yonghong Song <[email protected]>
Signed-off-by: KP Singh <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions