summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-03-05 20:57:06 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2018-03-05 20:57:06 +0100
commit094b58e1040a44f991d7ab628035e69c4d6b79c9 (patch)
treee0cee3d7e8eac592c047bd68785b33aad37d6863 /tools
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
parentselftests: memory-hotplug: fix emit_tests regression (diff)
downloadlinux-094b58e1040a44f991d7ab628035e69c4d6b79c9.tar.xz
linux-094b58e1040a44f991d7ab628035e69c4d6b79c9.zip
Merge tag 'linux-kselftest-4.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
Pull kselftest fixes from Shuah Khan: "A fix for regression in memory-hotplug install script that prevents the test from running on the target" * tag 'linux-kselftest-4.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: selftests: memory-hotplug: fix emit_tests regression
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/memory-hotplug/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/memory-hotplug/Makefile b/tools/testing/selftests/memory-hotplug/Makefile
index 183b46883875..686da510f989 100644
--- a/tools/testing/selftests/memory-hotplug/Makefile
+++ b/tools/testing/selftests/memory-hotplug/Makefile
@@ -5,7 +5,8 @@ include ../lib.mk
TEST_PROGS := mem-on-off-test.sh
override RUN_TESTS := @./mem-on-off-test.sh -r 2 && echo "selftests: memory-hotplug [PASS]" || echo "selftests: memory-hotplug [FAIL]"
-override EMIT_TESTS := echo "$(RUN_TESTS)"
+
+override EMIT_TESTS := echo "$(subst @,,$(RUN_TESTS))"
run_full_test:
@/bin/bash ./mem-on-off-test.sh && echo "memory-hotplug selftests: [PASS]" || echo "memory-hotplug selftests: [FAIL]"