From patchwork Wed Apr 25 21:32:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 134381 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1380133lji; Wed, 25 Apr 2018 14:32:18 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/JbwfyRngEJnjzSHAYugcbZSWXji879yiW2tEg9J9SX1JqMVKqDzTaCMn3IrgCmlTpSuHZ X-Received: by 10.98.66.143 with SMTP id h15mr17922793pfd.156.1524691937963; Wed, 25 Apr 2018 14:32:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524691937; cv=none; d=google.com; s=arc-20160816; b=DH9+goXPsJ5NQLc+Q2iWNbPK9Bn2gbJ2FNJN7bNFunS59HrSGY17ybrrYyFXffs51C STmkiGCLF1lG3WH0V1eYbcauh2g4iRFRXFHrYEF21GKNnuIj61RDmioA++jrP3n331cx PMj2azb7Dcvb7LW4+AjN6RcmDujpva0AL3gUPO53Dal0d93pss35LcnleA0gBAKnqB3z pL6APkepQshZ732y5QRsGSU+TTlgljPEcTC0+05RcqM+JdXVnBv2W0ajx/dcyp7buJy/ X5AN5ZQ7woTeBuY7/z8sqT/U4NbXQm38z0dOvaKZkl2HbBlZiYiK7tQios98KhwgNVoJ +2cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=fjFVTwxOEBTvV3u3j7+VKYl38i1PUVB2X3Y/ZeOKt58=; b=J6bLBl1VYHigWc/Ck9gTkoWREEzhEG+jheY6kGNulh83KMRZY+XbDCeOkNyGNrInZa ws/+HNJ7i8xlrp7Cbgve5pxuskJuRI6eXYSqU9z5J75RrBL6qHRJdrDXmIpEek9LS8VP iFLMFJLt4MnqBpijG0D0taVp8EocvKAUvv9hOMVaSAGcCi2JHjyEwSUlbJ6Dz7wLI/U6 WAFLI8RbnT5qzdLHU7HNgVl8EnShgkAv5/rOUXF16935pLEXwkxBHQsXQq81YwLOS/3a BNv/C7xUOFu2oPXPG71Sb+dvA5IGIRRZIZYXQ3rC/rYhXmUZbIFSE+bc/c4aMmMYHRFh oQvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A2WUO0Pz; 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 e1si679609pgr.167.2018.04.25.14.32.17; Wed, 25 Apr 2018 14:32:17 -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=A2WUO0Pz; 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 S1753182AbeDYVcO (ORCPT + 29 others); Wed, 25 Apr 2018 17:32:14 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:44981 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752164AbeDYVcL (ORCPT ); Wed, 25 Apr 2018 17:32:11 -0400 Received: by mail-lf0-f66.google.com with SMTP id h197-v6so198095lfg.11 for ; Wed, 25 Apr 2018 14:32:10 -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:in-reply-to:references; bh=fjFVTwxOEBTvV3u3j7+VKYl38i1PUVB2X3Y/ZeOKt58=; b=A2WUO0PzzbI8xP7p3JhqjvwNa8RFZ+Bc43jc37+FL4UsUmirmIyn8p3PBJFr+dG+nq R/ix2xDK9w6lYGHyYCOGhpaZ0/yeCii11/X1sVKlQYUd7ybCqnQPsDVHbJ4lSDF1/gyg Jkkm+efzh+W/AB+oElQ/Za42LRiDEDMytkEb4= 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:in-reply-to :references; bh=fjFVTwxOEBTvV3u3j7+VKYl38i1PUVB2X3Y/ZeOKt58=; b=iGKom71YVr/XT+54VFtwn571eheYCl7DqINdUx2fb/k8fNulOTWIcgo0KnIC9Sw/De KvvShaAueQwDEQ48b3u2KdMsxbdDpzn3FtgcoKPBdI4q8RR5f65eTA2weV6ufoc7sE4r al5v9nVn79Em19iU0F2heQyubrCFvlKXFPvThmC5iwJzDp4WpdDnueaUbD71jnkVzJdQ uDrC+OSE6gE2qAKBsOgLhU1VLjpbAu3J4xDC4UFb6iRJjtlihJNUEI6SrHzyA1/IEIDS ut07Vx6aI6Umwi8ceZRd4fX2uDOba7TXYDsx5wOB6wu+YEfa4+jm5v5RHzrFi+a37Nw7 80/w== X-Gm-Message-State: ALQs6tASyCS3UYpL/MQstgAnzqsqowTzZSBIw0vmDSObqegeVsvFw3bz nSVuX7PDSwRVJlkWUG+2fPt4UA== X-Received: by 10.46.42.4 with SMTP id q4mr21332400ljq.74.1524691929825; Wed, 25 Apr 2018 14:32:09 -0700 (PDT) Received: from localhost (c-4c3770d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.55.76]) by smtp.gmail.com with ESMTPSA id a21sm2994602ljf.35.2018.04.25.14.32.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Apr 2018 14:32:09 -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 v2] selftests: net: add in_netns.sh TEST_GEN_PROGS_EXTENDED Date: Wed, 25 Apr 2018 23:32:06 +0200 Message-Id: <20180425213206.7531-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180425.132513.1786379382285267245.davem@davemloft.net> References: <20180425.132513.1786379382285267245.davem@davemloft.net> 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 --- respin against the 'net' tree. 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 8f1e13d2e547..daf5effec3f0 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_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa