Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC976C4743C for ; Fri, 4 Jun 2021 21:31:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 949B0611C1 for ; Fri, 4 Jun 2021 21:31:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230208AbhFDVdd (ORCPT ); Fri, 4 Jun 2021 17:33:33 -0400 Received: from mail-ot1-f48.google.com ([209.85.210.48]:46964 "EHLO mail-ot1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229906AbhFDVdc (ORCPT ); Fri, 4 Jun 2021 17:33:32 -0400 Received: by mail-ot1-f48.google.com with SMTP id 66-20020a9d02c80000b02903615edf7c1aso10396552otl.13 for ; Fri, 04 Jun 2021 14:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=vbZgSAN+iPQara7nvEit4oB9ifITGuuSWNRzPMg2j/k=; b=Gn1VmhwpMuiy8ERQ5bEET4OO9FUpsRyio6QBNHFwno6ZrDu4T3ZLBcnhOw8KVGu9i3 Gy2t8fSl792Qrx4+8uB0DEvEyIQ7yLP9zenzGl5cGEalFoZZQa8toLCLzwhIWOi0xibX 0bRgWeWFApcFGQfisS5ao6vFCPh5OFU0FZaKs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=vbZgSAN+iPQara7nvEit4oB9ifITGuuSWNRzPMg2j/k=; b=RWeHUkK8+RWWXb17LDXjCkIBd4+GNvyCMOjs5d0q7OM/oHw+f7d40z4Fh+Y+izjCLB g4yxLlkkaVyQy0FgTe69z17EbKgIPdntSCfyW/iuPqHEg6iYpF0dB0pBYqXcA9fmUhzT k5zlzu7i21qkKjjlbjioJ2r1yPZaFX7O63F9jPY9hCn31g39Sc+JP1ui3lGAwolBO0zq vJRT5GjiMc7Xa+P9PDYty+ueoZLd8LN2KJwMBXh1fOZZEOn2hL+ENo92AFmvfYldUeIv EyJ3pjCzA04+GX8Tx4O67cX6oqhR7JAdPIqQ6wqS8baMKjD9igg/+/q/Noz+3g5x5K7y 0OjA== X-Gm-Message-State: AOAM533cW4Y4w2qEHUH/qADqwyCLlg2pOlyRCl++AMQg+7bA7zzCaBvl 0KnAVvbUFt/ZwfvMDE3+7DzxTWa4qadUVA== X-Google-Smtp-Source: ABdhPJxrU9jcGqepUNIzkGr6FohSOZgv5x2HsJMLz0ZRmBGzAetpiAKJO8RmHepnCeW0WcH/PJ/Kfw== X-Received: by 2002:a05:6830:3115:: with SMTP id b21mr5182451ots.291.1622842230022; Fri, 04 Jun 2021 14:30:30 -0700 (PDT) Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id x7sm705549ooc.23.2021.06.04.14.30.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Jun 2021 14:30:29 -0700 (PDT) Subject: Re: [PATCH] selftests: lib.mk: Also install "config" and "settings" To: Kees Cook , linux-kernel@vger.kernel.org, Shuah Khan Cc: linux-kselftest@vger.kernel.org, Shuah Khan References: <20210527031753.3729663-1-keescook@chromium.org> From: Shuah Khan Message-ID: Date: Fri, 4 Jun 2021 15:30:28 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210527031753.3729663-1-keescook@chromium.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org 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 > --- > 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