summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDave Young <dyoung@redhat.com>2012-12-17 16:04:42 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 17:15:27 -0800
commita58130ddc896e5a15e4de2bf50a1d89247118c23 (patch)
treeaddbbefc202228605647bf4c5d38ee7486b841f8 /tools
parent9ed1d90ed1e0b5788e5b9148ed70adb1a017078c (diff)
downloadkernel-common-a58130ddc896e5a15e4de2bf50a1d89247118c23.tar.gz
kernel-common-a58130ddc896e5a15e4de2bf50a1d89247118c23.tar.bz2
kernel-common-a58130ddc896e5a15e4de2bf50a1d89247118c23.zip
cpu-hotplug selftests: print failure status instead of cause make error
Original behavior: bash-4.1$ make -C cpu-hotplug run_tests make: Entering directory `/home/dave/git/linux-2.6/tools/testing/selftests/cpu-hotplug' ./on-off-test.sh make: execvp: ./on-off-test.sh: Permission denied make: *** [run_tests] Error 127 make: Leaving directory `/home/dave/git/linux-2.6/tools/testing/selftests/cpu-hotplug' After applying the patch: bash-4.1$ make -C cpu-hotplug run_tests make: Entering directory `/home/dave/git/linux-2.6/tools/testing/selftests/cpu-hotplug' /bin/sh: ./on-off-test.sh: Permission denied cpu-hotplug selftests: [FAIL] make: Leaving directory `/home/dave/git/linux-2.6/tools/testing/selftests/cpu-hotplug' Signed-off-by: Dave Young <dyoung@redhat.com> Reviewed-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/cpu-hotplug/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/cpu-hotplug/Makefile b/tools/testing/selftests/cpu-hotplug/Makefile
index 7c9c20ff578a..12657a5e4bf9 100644
--- a/tools/testing/selftests/cpu-hotplug/Makefile
+++ b/tools/testing/selftests/cpu-hotplug/Makefile
@@ -1,6 +1,6 @@
all:
run_tests:
- ./on-off-test.sh
+ @./on-off-test.sh || echo "cpu-hotplug selftests: [FAIL]"
clean: