Skip to content

Commit

Permalink
tools/testing/selftests: don't assume the x bit is set on scripts
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jul 3, 2013
1 parent 94d0900 commit 9307c29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/testing/selftests/cpu-hotplug/Makefile
Original file line number Diff line number Diff line change
@@ -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:
2 changes: 1 addition & 1 deletion tools/testing/selftests/memory-hotplug/Makefile
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit 9307c29

Please sign in to comment.