From: Andrea Righi Date: Wed, 16 Jun 2021 14:57:27 +0000 (+0200) Subject: selftests: net: use bash to run udpgro_fwd test case X-Git-Tag: accepted/tizen/unified/20230118.172025~7051^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b29df0e2e802cb15a5196c936f494161ec97502;p=platform%2Fkernel%2Flinux-rpi.git selftests: net: use bash to run udpgro_fwd test case 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 Signed-off-by: David S. Miller --- diff --git a/tools/testing/selftests/net/udpgro_fwd.sh b/tools/testing/selftests/net/udpgro_fwd.sh index a8fa641..7f26591 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)"