summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2022-05-16 12:00:20 +0800
committerAndrii Nakryiko <andrii@kernel.org>2022-05-18 17:06:47 -0700
commit70a1b25326dd77e145157ccf1a31c1948032eec4 (patch)
tree12e03a9a743390029475da748d205f52a40ec9e9 /tools/testing
parent68084a13642001b73aade05819584f18945f3297 (diff)
downloadlinux-70a1b25326dd77e145157ccf1a31c1948032eec4.tar.gz
linux-70a1b25326dd77e145157ccf1a31c1948032eec4.tar.bz2
linux-70a1b25326dd77e145157ccf1a31c1948032eec4.zip
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: 34b82d3ac105 ("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
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/bpf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile
index 4030dd6cbc34..2d3c8c8f558a 100644
--- a/tools/testing/selftests/bpf/Makefile
+++ b/tools/testing/selftests/bpf/Makefile
@@ -75,7 +75,7 @@ TEST_PROGS := test_kmod.sh \
test_xsk.sh
TEST_PROGS_EXTENDED := with_addr.sh \
- with_tunnels.sh \
+ with_tunnels.sh ima_setup.sh \
test_xdp_vlan.sh test_bpftool.py
# Compile but not part of 'make run_tests'