[PATCH -next 5/5] selftests/cpu-hotplug: Add log info when test success

From: Zhao Gongyi
Date: Tue Aug 30 2022 - 04:34:33 EST


Add log information when run full test successfully.

Signed-off-by: Zhao Gongyi <zhaogongyi@xxxxxxxxxx>
---
tools/testing/selftests/cpu-hotplug/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/cpu-hotplug/Makefile b/tools/testing/selftests/cpu-hotplug/Makefile
index d8be047ee5b6..8b66c4738344 100644
--- a/tools/testing/selftests/cpu-hotplug/Makefile
+++ b/tools/testing/selftests/cpu-hotplug/Makefile
@@ -6,6 +6,6 @@ TEST_PROGS := cpu-on-off-test.sh
include ../lib.mk

run_full_test:
- @/bin/bash ./cpu-on-off-test.sh -a || echo "cpu-hotplug selftests: [FAIL]"
+ @/bin/bash ./cpu-on-off-test.sh -a && echo "cpu-hotplug selftests: [PASS]" || echo "cpu-hotplug selftests: [FAIL]"

clean:
--
2.17.1