Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1561497

[PATCH 4.9 011/120] selftests: do not require bash to run netsocktests testcase

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject [PATCH 4.9 011/120] selftests: do not require bash to run netsocktests testcase
Date 2017-01-18 12:00 +0100
Message-ID <t0W8b-2X3-59@gated-at.bofh.it> (permalink)
References <t0W89-2X3-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


4.9-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Rolf Eike Beer <eb@emlix.com>

commit 3659f98b5375d195f1870c3e508fe51e52206839 upstream.

Nothing in this minimal script seems to require bash. We often run these
tests on embedded devices where the only shell available is the busybox
ash. Use sh instead.

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 tools/testing/selftests/net/run_netsocktests |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/tools/testing/selftests/net/run_netsocktests
+++ b/tools/testing/selftests/net/run_netsocktests
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 echo "--------------------"
 echo "running socket test"

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 4.9 011/120] selftests: do not require bash to run netsocktests testcase Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-01-18 12:00 +0100

csiph-web