Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp778666pxj; Wed, 16 Jun 2021 13:25:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxo6QmQsC4wgzmdLWGehkPM1Q1j1C9ok+H0uJ3K9D04fk1HDj1xAJJcE1o72wQrn7nIRUZo X-Received: by 2002:aa7:c705:: with SMTP id i5mr1930563edq.222.1623875114985; Wed, 16 Jun 2021 13:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623875114; cv=none; d=google.com; s=arc-20160816; b=Xw/cBnr27sFPYBerKydMnHT06KB/nIdfANYzrUHeuWDPBDw1tFihU6EJ1MUQ3NzNeu tVrs+NH/nCi2XXiW8fOR+GALwWaHojQfOB4Jh4i9pkReSej7Lag5ulgkrgLsGlV3I90P 0O8tiESuuzg96kXBn+9l28o6qCIcd90bcCR0bosbgAq3Zz3NUgXMgpbmlJzpdBkSY33h IRbg5xIPCney44iu6xnwzkZUywjUooq+Q0S9r5fN9QoLJ5EgylDDSZWA5nv8cyGcklYi lfkUAYkBeEOFFjTzfqs9Fz6+low58lq0A073b3QCOiT1adJm1JiglgqB1l0w3GoLYx49 AJzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date; bh=8a4xq8lMfa/LYfpYCOAoKmUJPps9DKcxfcjZnPhoHfw=; b=r4I6lrPRe0qxhUGj9VfjFJJrCVmkHqREjPzn/mjMoyadKVHXp6EMrqKrpLcDe6faZU VmClp1L/jXrD1k/ArjWf3kM2OYnp3sATsD+tm3ZgfRqetrcOLuzQEveBTRfrGKLj5LcO hNlFIu+EKxDEx+YaHMX1YADB13DyiZ8HFMBXa4F4Pj7Yq9vFZfS4eiW0zobOV/2HwaB0 NeVKv42lkv2k5Nw6MW6sUmOnirg1939nboy2NYj3nuNkHsRfH8xKqFzEqoQZqzoR/qYg hrHT4BzldZHB7GEkv53Dh+2LPjK9EPKN+wYQLCqQj3+cnTJBC8WgX6S8nDl3Xt4Mrzoo 7n+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a26si3231124edt.163.2021.06.16.13.24.22; Wed, 16 Jun 2021 13:25:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234283AbhFPO7h (ORCPT + 99 others); Wed, 16 Jun 2021 10:59:37 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:44523 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233747AbhFPO7g (ORCPT ); Wed, 16 Jun 2021 10:59:36 -0400 Received: from mail-ej1-f70.google.com ([209.85.218.70]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1ltWyv-0004dM-UL for linux-kernel@vger.kernel.org; Wed, 16 Jun 2021 14:57:29 +0000 Received: by mail-ej1-f70.google.com with SMTP id n19-20020a1709067253b029043b446e4a03so1054133ejk.23 for ; Wed, 16 Jun 2021 07:57:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=8a4xq8lMfa/LYfpYCOAoKmUJPps9DKcxfcjZnPhoHfw=; b=l1O9Z30F5b7i98xXBeeHfnup9yodNFVTgwhr1MwxDV38LoL8fMNLTcr1RZVd2M8X9f xUPlNOWQpoQK51blcChS9z8skJYz5lBcR7IVxkS8tEi4Ga4RY88nlw7l6JvZaxoLRV74 nStt3rCmO973DdyGOdpTdztss0JU12FDnOKUSM8f7eMGh3HSzuf/6vv3hO4PFepYaELt q3rDnYp0nkyXLxPuHuqAB955EPwJYg2Kzqhzo33tUPKjkgOhRB1PhYANafnbVOJY/+UI 0SPvqwGYnGSJ6gQMUMybfjx/whRuWxFDkFxRONEWqLk/niHecKAg9P125KouAd9deHzd hOPA== X-Gm-Message-State: AOAM532mR7poRy/H11uI6fu91MVGV1tisWoFhCLQkNG/keymwJns0NGL HbWamtYInq+cUv0HYX2TqXLNKZSY7cbjf+0VGa9MsPPkpHzIKi9QKYoB8e4/UtuYAUWtT8Qgc3X HIkSVIbzqrJtKaBCv413DxeU/PjmK11ieSn/ON3KNcw== X-Received: by 2002:a05:6402:40cc:: with SMTP id z12mr9321edb.202.1623855449143; Wed, 16 Jun 2021 07:57:29 -0700 (PDT) X-Received: by 2002:a05:6402:40cc:: with SMTP id z12mr9305edb.202.1623855448906; Wed, 16 Jun 2021 07:57:28 -0700 (PDT) Received: from localhost (host-79-46-128-215.retail.telecomitalia.it. [79.46.128.215]) by smtp.gmail.com with ESMTPSA id p13sm1777726ejr.87.2021.06.16.07.57.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jun 2021 07:57:28 -0700 (PDT) Date: Wed, 16 Jun 2021 16:57:27 +0200 From: Andrea Righi To: Shuah Khan Cc: "David S. Miller" , Jakub Kicinski , linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] selftests: net: use bash to run udpgro_fwd test case Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org udpgro_fwd.sh contains many bash specific operators ("[[", "local -r"), but it's using /bin/sh; in some distro /bin/sh is mapped to /bin/dash, that doesn't support such operators. Force the test to use /bin/bash explicitly and prevent false positive test failures. Signed-off-by: Andrea Righi --- tools/testing/selftests/net/udpgro_fwd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/net/udpgro_fwd.sh b/tools/testing/selftests/net/udpgro_fwd.sh index a8fa64136282..7f26591f236b 100755 --- a/tools/testing/selftests/net/udpgro_fwd.sh +++ b/tools/testing/selftests/net/udpgro_fwd.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # SPDX-License-Identifier: GPL-2.0 readonly BASE="ns-$(mktemp -u XXXXXX)" -- 2.31.1