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


Groups > linux.kernel > #1561497 > unrolled thread

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

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2017-01-18 12:00 +0100
Last post2017-01-18 12:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [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

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

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-01-18 12:00 +0100
Subject[PATCH 4.9 011/120] selftests: do not require bash to run netsocktests testcase
Message-ID<t0W8b-2X3-59@gated-at.bofh.it>
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"

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web