Skip to contentSkip to conversation

Patch "selftests: do not require bash to run netsocktests testcase" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Jan 17, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

selftests: do not require bash to run netsocktests testcase

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
selftests-do-not-require-bash-to-run-netsocktests-testcase.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 3659f98b5375d195f1870c3e508fe51e52206839 Mon Sep 17 00:00:00 2001

From: Rolf Eike Beer <[email protected]>
Date: Wed, 14 Dec 2016 11:59:57 +0100
Subject: selftests: do not require bash to run netsocktests testcase

From: Rolf Eike Beer <[email protected]>

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.

---
 tools/testing/selftests/net/run_netsocktests |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/net/run_netsocktests +1 -1
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 echo "--------------------"
 echo "running socket test"

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/selftests-do-not-require-bash-for-the-generated-test.patch queue-4.4/selftests-do-not-require-bash-to-run-netsocktests-testcase.patch