Skip to content

Commit ba004a2

Browse files
author
Shuah Khan
committed
selftests: memory-hotplug: fix emit_tests regression
Commit 16c513b ("selftests: memory-hotplug: silence test command echo") introduced regression in emit_tests and results in the following failure when selftests are installed and run. Fix it. Running tests in memory-hotplug ======================================== ./run_kselftest.sh: line 121: @./mem-on-off-test.sh: No such file or directory selftests: memory-hotplug [FAIL] Fixes: 16c513b (selftests: memory-hotplug: silence test command echo") Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> Tested-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
1 parent f686982 commit ba004a2

File tree

1 file changed

+2
-1
lines changed
  • tools/testing/selftests/memory-hotplug

1 file changed

+2
-1
lines changed

tools/testing/selftests/memory-hotplug/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ include ../lib.mk
55

66
TEST_PROGS := mem-on-off-test.sh
77
override RUN_TESTS := @./mem-on-off-test.sh -r 2 && echo "selftests: memory-hotplug [PASS]" || echo "selftests: memory-hotplug [FAIL]"
8-
override EMIT_TESTS := echo "$(RUN_TESTS)"
8+
9+
override EMIT_TESTS := echo "$(subst @,,$(RUN_TESTS))"
910

1011
run_full_test:
1112
@/bin/bash ./mem-on-off-test.sh && echo "memory-hotplug selftests: [PASS]" || echo "memory-hotplug selftests: [FAIL]"

0 commit comments

Comments
 (0)