]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Add missed ima_setup.sh in Makefile
authorHangbin Liu <liuhangbin@gmail.com>
Mon, 16 May 2022 04:00:20 +0000 (12:00 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 19 May 2022 00:06:47 +0000 (17:06 -0700)
commitcd1beb13164cd3912a0cb0bdc8e5f1b3c4624a30
tree12e03a9a743390029475da748d205f52a40ec9e9
parent1fc6cfff8cab79abff659620477cd6b152547b7f
selftests/bpf: Add missed ima_setup.sh in Makefile

When build bpf test and install it to another folder, e.g.

  make -j10 install -C tools/testing/selftests/ TARGETS="bpf" \
SKIP_TARGETS="" INSTALL_PATH=/tmp/kselftests

The ima_setup.sh is missed in target folder, which makes test_ima failed.

Fix it by adding ima_setup.sh to TEST_PROGS_EXTENDED.

Fixes: 986961860112 ("bpf: Add a selftest for bpf_ima_inode_hash")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20220516040020.653291-1-liuhangbin@gmail.com
tools/testing/selftests/bpf/Makefile