Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2048261ima; Mon, 22 Oct 2018 03:23:30 -0700 (PDT) X-Google-Smtp-Source: ACcGV63E9qmGlW0OwQobBaGA1RAjonyp0FsMcSoab06SYE0l9EjgMu6umxyZavAGZDJ3e9kh4t2K X-Received: by 2002:a63:de05:: with SMTP id f5-v6mr41867079pgg.292.1540203810246; Mon, 22 Oct 2018 03:23:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540203810; cv=none; d=google.com; s=arc-20160816; b=vCPfUHK5OOKMp64wYU3SOIkFIXixSgcD9IcWUJqjcbswoaNbHWUUHAZj0+Y6CCuStW mglayNHlEF6spPolY09vi0StiO14/U8dT1yUy6CbtpChJXsWMCayeJY1aLrdUg27UX4x 02GCY0NTm9jxPMksIx+dco80nbp3ubmh1gN1nAVKncisdrtv6p6PxLmD9VPcy3gh9RPF rTqC7R5Vp7hgyJXMw24PBern7rIoV2cJDBExqZ6GlmbFHwC0z0Q0uJ6bjnvVxcIqlLqb +gRKTbPdGkHyBc1oSwX1VtpAe7x7tB4AZ2x0FVc3YdrVJplbBDMGZ2vXjbHI9QtuASDk QWMA== 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; bh=v6ff7vq7/CthfPi3T5AZrZMz05TFIyQmytPXjJ9KRC0=; b=befv9lIj1jwMS6Qaprja8qX8cYSlxZUzFlOIpkBLmySBca5xOXR3dVonNy0fHRLCKo YYaJG+Nno9+fUI/KaVf9iEBRm3xWX07KGaFF/2mVG85Y1gQslLF0g6WPuWCUtZ/JjcRy SlgXE/+zCjI6ZnWHfBnb/s9MDGYZ2YoCATMeOYw9IfKt198OFgQX0unF0oYUV8aI76Q/ 1r7IaFZrxzkEPCXWlU4y0apevYr7jpLQOgMyUUurpsFxbPfAdFqiSEBxAE2qGL+1HNcH owbProe5lO4L4EpKWS+bMnlGM/X8uPOGalbe5Z8OgEcaGkFE7CPEs05nUfBel4xyj4u0 eELg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sNcG7UYH; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w64-v6si34640866pfb.247.2018.10.22.03.23.15; Mon, 22 Oct 2018 03:23:30 -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=@kernel.org header.s=default header.b=sNcG7UYH; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729197AbeJVSi5 (ORCPT + 99 others); Mon, 22 Oct 2018 14:38:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:49964 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728591AbeJVSi4 (ORCPT ); Mon, 22 Oct 2018 14:38:56 -0400 Received: from sasha-vm.mshome.net (unknown [167.98.65.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8DAD820898; Mon, 22 Oct 2018 10:21:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540203661; bh=PZCxc54Ekwn47R3wE8Ph4gO8s3Jm5T/OHkLcyDxu7WQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sNcG7UYH/koG2UetQNBTzK7VApkle8b8CsSDYooddp93GDH47M3uipkeYrneRqtu3 SndFFCW7GkrLteCJJ9XzMFekLEtrsLHJkEWTE33BUYNXTs1wjyStal8z8tDC0eKR+7 hUWz0/2vwovvLudV2GYFjjWKHO/O1LttFC8OnfZQ= From: Sasha Levin To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Paolo Abeni , "David S . Miller" , Sasha Levin Subject: [PATCH AUTOSEL 4.14 14/15] selftests: rtnetlink.sh explicitly requires bash. Date: Mon, 22 Oct 2018 06:20:25 -0400 Message-Id: <20181022102026.40869-14-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181022102026.40869-1-sashal@kernel.org> References: <20181022102026.40869-1-sashal@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paolo Abeni [ Upstream commit 3c718e677c2b35b449992adc36ecce883c467e98 ] the script rtnetlink.sh requires a bash-only features (sleep with sub-second precision). This may cause random test failure if the default shell is not bash. Address the above explicitly requiring bash as the script interpreter. Fixes: 33b01b7b4f19 ("selftests: add rtnetlink test script") Signed-off-by: Paolo Abeni Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- tools/testing/selftests/net/rtnetlink.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/net/rtnetlink.sh b/tools/testing/selftests/net/rtnetlink.sh index 57b5ff576240..891130daac7c 100755 --- a/tools/testing/selftests/net/rtnetlink.sh +++ b/tools/testing/selftests/net/rtnetlink.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # This test is for checking rtnetlink callpaths, and get as much coverage as possible. # -- 2.17.1