summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/lib.mk
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2021-05-27 05:17:54 +0200
committerShuah Khan <skhan@linuxfoundation.org>2021-06-08 03:18:28 +0200
commitde53fa9baa701963722e9fa3d0fe34b897104497 (patch)
treebf368606c038d5e48249f2d1759f3bd1fbf0c376 /tools/testing/selftests/lib.mk
parentselftests: splice: Adjust for handler fallback removal (diff)
downloadlinux-de53fa9baa701963722e9fa3d0fe34b897104497.tar.xz
linux-de53fa9baa701963722e9fa3d0fe34b897104497.zip
selftests: lib.mk: Also install "config" and "settings"
Installed seccomp tests would time out because the "settings" file was missing. Install both "settings" (needed for proper test execution) and "config" (needed for informational purposes) with the other test targets. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/lib.mk')
-rw-r--r--tools/testing/selftests/lib.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk
index 0af84ad48aa7..fa2ac0e56b43 100644
--- a/tools/testing/selftests/lib.mk
+++ b/tools/testing/selftests/lib.mk
@@ -100,6 +100,7 @@ define INSTALL_RULE
$(eval INSTALL_LIST = $(TEST_CUSTOM_PROGS)) $(INSTALL_SINGLE_RULE)
$(eval INSTALL_LIST = $(TEST_GEN_PROGS_EXTENDED)) $(INSTALL_SINGLE_RULE)
$(eval INSTALL_LIST = $(TEST_GEN_FILES)) $(INSTALL_SINGLE_RULE)
+ $(eval INSTALL_LIST = $(wildcard config settings)) $(INSTALL_SINGLE_RULE)
endef
install: all