[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <edfcc51d-af42-5034-0ba2-f6a419c58a7f@linuxfoundation.org>
Date: Fri, 4 Jun 2021 15:30:28 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Kees Cook <keescook@...omium.org>, linux-kernel@...r.kernel.org,
Shuah Khan <shuah@...nel.org>
Cc: linux-kselftest@...r.kernel.org,
Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH] selftests: lib.mk: Also install "config" and "settings"
On 5/26/21 9:17 PM, Kees Cook wrote:
> 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@...omium.org>
> ---
> tools/testing/selftests/lib.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> 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
>
I will pick this up for 5.14
thanks,
-- Shuah
Powered by blists - more mailing lists