diff options
author | David S. Miller <davem@davemloft.net> | 2018-10-11 10:19:46 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-11 10:19:46 -0700 |
commit | 26b1f4cb9150ac9662063a3bdc3c0a44bf622981 (patch) | |
tree | 4ef582e7683f4042a24d8299788036a4246e4721 | |
parent | 4f7617705bfff84d756fe4401a1f4f032f374984 (diff) | |
parent | 12a2ea962c06efb30764c47b140d2ec9d3cd7cb0 (diff) |
Merge branch 'net-explicitly-requires-bash-when-needed'
Paolo Abeni says:
====================
net: explicitly requires bash when needed.
Some test scripts require bash-only features but use the default shell.
This may cause random failures if the default shell is not bash.
Instead of doing a potentially complex rewrite of such scripts, these patches
require the bash interpreter, where needed.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
-rwxr-xr-x | tools/testing/selftests/net/rtnetlink.sh | 2 | ||||
-rwxr-xr-x | tools/testing/selftests/net/udpgso_bench.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/net/rtnetlink.sh b/tools/testing/selftests/net/rtnetlink.sh index 08c341b49760..e101af52d1d6 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. # diff --git a/tools/testing/selftests/net/udpgso_bench.sh b/tools/testing/selftests/net/udpgso_bench.sh index 850767befa47..99e537ab5ad9 100755 --- a/tools/testing/selftests/net/udpgso_bench.sh +++ b/tools/testing/selftests/net/udpgso_bench.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # SPDX-License-Identifier: GPL-2.0 # # Run a series of udpgso benchmarks |