diff options
author | 2021-06-16 16:57:27 +0200 | |
---|---|---|
committer | 2021-06-16 12:56:10 -0700 | |
commit | 1b29df0e2e802cb15a5196c936f494161ec97502 (patch) | |
tree | dc3ef99992ef31117247b24e01a6de7b024b8abd /tools | |
parent | net/af_unix: fix a data-race in unix_dgram_sendmsg / unix_release_sock (diff) | |
download | wireguard-linux-1b29df0e2e802cb15a5196c936f494161ec97502.tar.xz wireguard-linux-1b29df0e2e802cb15a5196c936f494161ec97502.zip |
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 <andrea.righi@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/testing/selftests/net/udpgro_fwd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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)" |