Skip to contentSkip to conversation

tools-testing-selftests-sysctl-sysctlsh-support-config_test_sysctl=y.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jun 8, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: tools/testing/selftests/sysctl/sysctl.sh: support CONFIG_TEST_SYSCTL=y
has been removed from the -mm tree. Its filename was
tools-testing-selftests-sysctl-sysctlsh-support-config_test_sysctl=y.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Vlastimil Babka <[email protected]>
Subject: tools/testing/selftests/sysctl/sysctl.sh: support CONFIG_TEST_SYSCTL=y

The testing script recommends CONFIG_TEST_SYSCTL=y, but actually only works with CONFIG_TEST_SYSCTL=m. Testing of sysctl setting via boot param however requires the test to be built-in, so make sure the test script supports it.

Cc Alexey Dobriyan <[email protected]>
Cc Christian Brauner <[email protected]>
Cc David Rientjes <[email protected]>
Cc "Eric W . Biederman" <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc "Guilherme G . Piccoli" <[email protected]>
Cc Iurii Zaikin <[email protected]>
Cc Ivan Teterevkov <[email protected]>
Cc Kees Cook <[email protected]>
Cc Masami Hiramatsu <[email protected]>
Cc Matthew Wilcox <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Thomas Gleixner <[email protected]>

---

 tools/testing/selftests/sysctl/sysctl.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/sysctl/sysctl.sh renamed from tools/testing/selftests/sysctl/sysctl.sh~tools-testing-selftests-sysctl-sysctlsh-support-config_test_sysctl=y +1 -1
@@ -122,7 +122,7 @@ test_reqs()
 
 function load_req_mod()
 {
-	if [ ! -d $DIR ]; then
+	if [ ! -d $SYSCTL ]; then
 		if ! modprobe -q -n $TEST_DRIVER; then
 			echo "$0: module $TEST_DRIVER not found [SKIP]"
 			exit $ksft_skip

_

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