Received: by 10.192.165.148 with SMTP id m20csp5179832imm; Tue, 24 Apr 2018 15:21:40 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+yopO5qRPU4R46+7OUSxzAoqlMgxVBl6LIxnIE+qtn0meHH8+AU9qZcbC7n3FRMGRVQlPP X-Received: by 2002:a17:902:bb06:: with SMTP id l6-v6mr8446186pls.255.1524608500520; Tue, 24 Apr 2018 15:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524608500; cv=none; d=google.com; s=arc-20160816; b=rbMsqbJMzegJ2BnDG9faEg3rM6bYsSc2wctUqJoN8HBs4mhlKsQejnx392Dbp3q9do Vz6ag2MxQHkxszBbCvBejFWHl51q8mrys+95ZoZorgXXruDWUiOPl/z77gC7HGrdXC7Z 5CwNfNaPikRLnSFno91kWf+B2tPXlCyLQiOhjKKoNs0tE0VrGh929b4mZrr3LHsegFdc pYog/zmZTy0r6lGXedRHge9APJxujqu7ctmIvlXaNzmSSmyJi6/rGIQKPRjcylu3pOwy zLxwyAn1Tf31dcJEQDH2inMwgSgiLMIhYVtyB9sN1CuJAQsS/CXziycbsDPrIsjCcnfZ htbQ== 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 d17si534342pgv.188.2018.04.24.15.21.26; Tue, 24 Apr 2018 15:21:40 -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 S1751247AbeDXWUC (ORCPT + 99 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(-) 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 -- 2.11.0