From patchwork Tue Apr 24 22:19:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 134196 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp108660lji; Tue, 24 Apr 2018 15:20:05 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+ntT9Za9taCb3dPar7WkiIqifL9pYX1u7KhMnZdlUnUJRQgR7M8ZIo3oQkmX5W1ElYB38u X-Received: by 10.101.75.135 with SMTP id t7mr21810652pgq.235.1524608405492; Tue, 24 Apr 2018 15:20:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524608405; cv=none; d=google.com; s=arc-20160816; b=p4pbnzAu4sdh5qyX0Q9d+Rw7ZE/OFhi+ObWOeAbvSE+EbhFaAmZ7Yc9PqNK9fYTNwr njQXBTrBryYhooK8YqdaR9Z4N0TjD89d7o4nATuwhy/rvSXy0dvI/KLrIn0x8KBPXI7i D2hgg3CRHiqJBkLKXNMuWBT48V1u9y8hRjXdfAO5lOCCJBMA85rq0RVON3NJdpqVWdfA KfhN5KoxmgIf7lfFPb19rWWs1d8RYRKnHHBIb9KVz1/vNK8UphdYz38I6d6HozsQY5Pd d12LDVD2khlCt+b18YvcJNA/carp0G6dvAPgDs+GTyniyFEYUfCZSFkg7smKBddQ/7Kx eLFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=+XO5r8jg4wlks/mPHi9WqKWI+D3/W9uki22RmERkHu4=; b=rIreAcfSPghiLq3zjIQMeresZGwuQx0fOh/7njP3j3t+y4vgDAq9FGacF8Rm2Z+YIS pIETXjxi3tB9NBRX/HjxZeOnTsKC6xK7K0I99+uAoTucDIXD9oYt+64xMVIZu3X3PWWo LgiXNOshyyZpKGL6FDnxPRvXNWWoVni5dw+tmhSeh+XsH6Ze0G0AzJS6A4E9xjN9dDO+ BZb7yQDJ5uDqaTIC+uhk7vH/jOHoIPz8Pt/Ip/NVXGXDjJdoBT5KoVQJJsVevp5eksOi Q1Kxs49D2PcOIs667Oyn2I71pv7vhpxU3E0S86ICq+Ll/uRJcGwjJICemfTQxHnEAAR9 gE5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eC39BT6l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11si11946060pgn.404.2018.04.24.15.20.05; Tue, 24 Apr 2018 15:20:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eC39BT6l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751255AbeDXWUC (ORCPT + 29 others); Tue, 24 Apr 2018 18:20:02 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:35757 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779AbeDXWT7 (ORCPT ); Tue, 24 Apr 2018 18:19:59 -0400 Received: by mail-lf0-f67.google.com with SMTP id r125-v6so22612575lfe.2 for ; Tue, 24 Apr 2018 15:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=+XO5r8jg4wlks/mPHi9WqKWI+D3/W9uki22RmERkHu4=; b=eC39BT6lZ8iL020VlyHc8awq4u44ELfDIsthfmalhnTLKOWVARVBIEluikoXw8/NLo afZ9cDtxTUhnseQSxA1bJwcIb1WkrDyi74+avlSRGCJyNUd3ykO1lYzIlFpyHvJLPdvK O56VNRAtXGHTFksATpttkJRp3ZJqdUmQvtL1k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=+XO5r8jg4wlks/mPHi9WqKWI+D3/W9uki22RmERkHu4=; b=VOQwfNU2m7nDA5X4k2DqzpuTVN2eJw62am8f1wvezTO4lKCsApHVms3h3Wq0CIQm/u OlCNkh522G0gEC6WysfMqMsO/EVQizgtSeADWXB7+ksTdfpeswbrQql5QO5reOkdoBTr 8ibupAclmuzZWFfEtpXRbeBOQnmvXAZ4Eih5dpnn5fUJnM/JAInTO1W0kjFFuZa84wAm JFV+WOQXMR3SQ8Xs4R8G9l9m/RkJNwAnR4NeXjr8lM50zrroS0JjJ2qVUojyVrMIpUhJ oQetLGRvsFW1MLRo2IUN0O0rbIPXzhnA42y5952KlRKVi/cxSMvSYiphHzocAQXvzBtK tIrA== X-Gm-Message-State: ALQs6tAG5SRJRH6ejJ7rdugjeZLI6j8IcE7viWApKM2W7dsdzGGjCjMx zrlPOiTN2Q/6nYajjcEvL+TLig== X-Received: by 2002:a19:eb5d:: with SMTP id j90-v6mr13167037lfh.86.1524608398215; Tue, 24 Apr 2018 15:19:58 -0700 (PDT) Received: from localhost (c-4c3770d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.55.76]) by smtp.gmail.com with ESMTPSA id m20-v6sm3516530lfc.23.2018.04.24.15.19.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Apr 2018 15:19:57 -0700 (PDT) From: Anders Roxell To: davem@davemloft.net, shuah@kernel.org Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH] selftests: net: add in_netns.sh TEST_GEN_PROGS_EXTENDED Date: Wed, 25 Apr 2018 00:19:52 +0200 Message-Id: <20180424221952.12081-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Script in_netns.sh is a utility function and not its own test so it shouldn't be part of the TEST_PROGS. The in_netns.sh get used by run_afpackettests. To install in_netns.sh without being added to the main run_kselftest.sh script use the TEST_GEN_PROGS_EXTENDED variable. Fixes: 5ff9c1a3dd92 ("selftests: net: add in_netns.sh to TEST_PROGS") Signed-off-by: Anders Roxell --- tools/testing/selftests/net/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.11.0 diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile index c3761c35f542..4a8cfe8071a7 100644 --- a/tools/testing/selftests/net/Makefile +++ b/tools/testing/selftests/net/Makefile @@ -5,7 +5,8 @@ CFLAGS = -Wall -Wl,--no-as-needed -O2 -g CFLAGS += -I../../../../usr/include/ TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh rtnetlink.sh -TEST_PROGS += fib_tests.sh fib-onlink-tests.sh in_netns.sh pmtu.sh +TEST_PROGS += fib_tests.sh fib-onlink-tests.sh pmtu.sh +TEST_GEN_PROGS_EXTENDED := in_netns.sh TEST_GEN_FILES = socket TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy TEST_GEN_FILES += tcp_mmap