selftests: lib.mk: Also install "config" and "settings"
PATCH 1/1 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 <[email protected]>
--- tools/testing/selftests/lib.mk | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/lib.mk +1 -0
@@ -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
Signature · 1 line
2.25.1
Shuah Khan
maintainerQuoted 16 lines · Kees Cook
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 <[email protected]>--- tools/testing/selftests/lib.mk | 1 + 1 file changed, 1 insertion(+)tools/testing/selftests/lib.mk +0
-0
tools/testing/selftests/lib.mk define INSTALL_RULE · line 106
Quoted 7 lines
tools/testing/selftests/lib.mk +1
-0@@ -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
I will pick this up for 5.14
thanks,
-- Shuah