aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-10-11 10:19:46 -0700
committerDavid S. Miller <davem@davemloft.net>2018-10-11 10:19:46 -0700
commit26b1f4cb9150ac9662063a3bdc3c0a44bf622981 (patch)
tree4ef582e7683f4042a24d8299788036a4246e4721
parent4f7617705bfff84d756fe4401a1f4f032f374984 (diff)
parent12a2ea962c06efb30764c47b140d2ec9d3cd7cb0 (diff)
downloadlinux-coc-26b1f4cb9150ac9662063a3bdc3c0a44bf622981.tar.gz
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-xtools/testing/selftests/net/rtnetlink.sh2
-rwxr-xr-xtools/testing/selftests/net/udpgso_bench.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/net/rtnetlink.sh b/tools/testing/selftests/net/rtnetlink.sh
index 08c341b49760f0..e101af52d1d687 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 850767befa47a5..99e537ab5ad9a3 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