aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Young2012-12-17 18:04:45 -0600
committerLinus Torvalds2012-12-17 19:15:27 -0600
commitaabccae6e9e2106e67a40d65eb423163cd69d2fb (patch)
tree17102d552903710c31a42eabf195a716cbec65c1 /tools/testing/selftests
parenta58130ddc896e5a15e4de2bf50a1d89247118c23 (diff)
downloadkernel-omap-aabccae6e9e2106e67a40d65eb423163cd69d2fb.tar.gz
kernel-omap-aabccae6e9e2106e67a40d65eb423163cd69d2fb.tar.xz
kernel-omap-aabccae6e9e2106e67a40d65eb423163cd69d2fb.zip
mem-hotplug selftests: print failure status instead of cause make error
Original behavior: bash-4.1$ make -C memory-hotplug run_tests make: Entering directory `/home/dave/git/linux-2.6/tools/testing/selftests/memory-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/memory-hotplug' After applying the patch: bash-4.1$ make -C memory-hotplug run_tests make: Entering directory `/home/dave/git/linux-2.6/tools/testing/selftests/memory-hotplug' /bin/sh: ./on-off-test.sh: Permission denied memory-hotplug selftests: [FAIL] make: Leaving directory `/home/dave/git/linux-2.6/tools/testing/selftests/memory-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/testing/selftests')
-rw-r--r--tools/testing/selftests/memory-hotplug/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/memory-hotplug/Makefile b/tools/testing/selftests/memory-hotplug/Makefile
index 7c9c20ff578a..0f49c3f5f58d 100644
--- a/tools/testing/selftests/memory-hotplug/Makefile
+++ b/tools/testing/selftests/memory-hotplug/Makefile
@@ -1,6 +1,6 @@
1all: 1all:
2 2
3run_tests: 3run_tests:
4 ./on-off-test.sh 4 @./on-off-test.sh || echo "memory-hotplug selftests: [FAIL]"
5 5
6clean: 6clean: