tools/testing/selftests: don't assume the x bit is set on scripts

The x bit can easily get lost (patch(1) loses it, for example).

Reported-by: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: Dave Young <dyoung@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Andrew Morton 2013-07-03 15:09:23 -07:00 committed by Linus Torvalds
parent 94d090013e
commit 9307c29524
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
all:
run_tests:
@./on-off-test.sh || echo "cpu-hotplug selftests: [FAIL]"
@/bin/sh ./on-off-test.sh || echo "cpu-hotplug selftests: [FAIL]"
clean:

View file

@ -1,6 +1,6 @@
all:
run_tests:
@./on-off-test.sh || echo "memory-hotplug selftests: [FAIL]"
@/bin/sh ./on-off-test.sh || echo "memory-hotplug selftests: [FAIL]"
clean: