From patchwork Wed Apr 11 15:17:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 133147 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp754032ljb; Wed, 11 Apr 2018 08:18:34 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+jjBlpa4vZw4G+5xTEqPx3QUe2tc+cou1uXPTEwWVsBnCI2EKzA7+pwZaKpALG/SMzj2RB X-Received: by 10.99.123.17 with SMTP id w17mr1692277pgc.55.1523459913970; Wed, 11 Apr 2018 08:18:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523459913; cv=none; d=google.com; s=arc-20160816; b=K49LFm3kqDssDLFnR39YUPYoGvX45uKvAlDJUF3xNvnmZnoCWuETYEOo8b9z3bdYlp 91/jkjn47iE2fZynwlBegj/xXRl0R0NppaSa+ZVavvcrYp9FtGNRi5SKEDKnoZnPJAlT gWT8isOVrMpFuBIGPc1WSx+spsfxqNoVc1tqBEnn+0pnGFsUKxG149sET5OtzkCo0iFp eHVDI6MIgJtQj2QcY0KnR3crWC9lWOXhyo1DPzX/CYSqxTsk1pbDbOrhf1rHPf0tkFCX solQbYzJmmV6YsObtQPO+/KQAroS6C/nSUdA35ZHoZkpeBBsJDK4ko4OcAq76z+Ahve+ qDkw== 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=GeeXEFHb/wZo7rhCBGJ2wTczYV3QG1uhP3xtJ4rf27I=; b=K+XJzTqutjh82i2ve2Z8LIWDnUqdmcsgfgmlzmLYr5xLBWvWhyMRi0GC5WZHsReViI bO+bYdYwivZtmwYnz+udEw7XI2Obbvi2DyBBJI+Y31OIzcRNavALRXTzrxt1SCcH01i8 XtgsmCQ4TO0Naxz6RFLFd6H8lUWBF1t91YTtVa+rWvWP3OztZQdKoiZIOsZdyaej9vPg pT/U+1XWvNYlpGBsVKaxe/cTcUlrQ6Iea5EtCsV4dZgT6F+QTcGZd3DpoI+0CJRRzKG3 zGkm+fRwK60y5etEwdQZpEPsleNarPg7vVmRVZ1GzwDYIXHobFT1TbkdXcOAefBHp5Zr FHZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UW43flU6; 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 o5-v6si1341421plh.432.2018.04.11.08.18.33; Wed, 11 Apr 2018 08:18:33 -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=UW43flU6; 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 S1753807AbeDKPSa (ORCPT + 29 others); Wed, 11 Apr 2018 11:18:30 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:42064 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752664AbeDKPS2 (ORCPT ); Wed, 11 Apr 2018 11:18:28 -0400 Received: by mail-lf0-f66.google.com with SMTP id q9-v6so3189393lfk.9 for ; Wed, 11 Apr 2018 08:18:27 -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=GeeXEFHb/wZo7rhCBGJ2wTczYV3QG1uhP3xtJ4rf27I=; b=UW43flU6jVM8P2RlXIVb6pN2qWEzEniVopOFOW491muJ3omHpKhA34B7KDGTlxyUnY 8CRXKHAJzLPyZ094SrxZXIGGAFcHEvK4dIHcX8pPIeXuAWDnVcQNDjDOTK3ho6cLA/qE agpcubatPa/ru29ZPbi5/u/mZDT5Va90TCZig= 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=GeeXEFHb/wZo7rhCBGJ2wTczYV3QG1uhP3xtJ4rf27I=; b=HV3o9dVbMcDiXS39pI3TH1xjimODhFjo9Lgh9A1tkcWaeyrbSgPww+8YbXe7Em0Z68 tmSYFAbptmDWL5zWK1qx9IpG70gRbgTvhBnfZ57KcvDOxePL8bMIzUfRmQz37vCk7v3Y O7hmxBs6rmTBuBc3OqSr4/KxWZqUg2KuK4VQe7CkbBeLgnUYq8b0uVk79+0Hp0C4qfXC k/GoP+6IyVnJJIah6INsG8Hvg3kT+sJQpfpEtKIzIpaLAS4Keeeb36uWz3wq9R8ZTqtQ 9w41GBEWcril5e6SUtWstKClX7djWzbO+lN8UmmzKabGSmMV0Ponk2CK/VqtnOOx2KY3 b3BQ== X-Gm-Message-State: ALQs6tDlaz9j+irXpzSDpJuq3TL0Upm1pB5uYimsW08OghkhnT4VedeU TNP7FZ680Tk9QA1qGc5T6dOsYA== X-Received: by 2002:a19:9c0d:: with SMTP id f13-v6mr3108304lfe.9.1523459906834; Wed, 11 Apr 2018 08:18:26 -0700 (PDT) Received: from localhost (c-2c3d70d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.61.44]) by smtp.gmail.com with ESMTPSA id k23sm242153ljg.47.2018.04.11.08.18.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Apr 2018 08:18:26 -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 to TEST_PROGS Date: Wed, 11 Apr 2018 17:17:34 +0200 Message-Id: <20180411151734.15507-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.16.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Script in_netns.sh isn't installed. -------------------- running psock_fanout test -------------------- ./run_afpackettests: line 12: ./in_netns.sh: No such file or directory [FAIL] -------------------- running psock_tpacket test -------------------- ./run_afpackettests: line 22: ./in_netns.sh: No such file or directory [FAIL] In current code added in_netns.sh to be installed. Fixes: cc30c93fa020 ("selftests/net: ignore background traffic in psock_fanout") Signed-off-by: Anders Roxell --- tools/testing/selftests/net/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.16.3 diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile index 785fc18a16b4..8f1e13d2e547 100644 --- a/tools/testing/selftests/net/Makefile +++ b/tools/testing/selftests/net/Makefile @@ -5,7 +5,7 @@ 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 pmtu.sh +TEST_PROGS += fib_tests.sh fib-onlink-tests.sh in_netns.sh pmtu.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