summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/cpu-hotplug
diff options
context:
space:
mode:
authorShuah Khan2014-06-25 19:43:44 +0200
committerGreg Kroah-Hartman2014-07-12 03:11:18 +0200
commit5e4ff6950352ab2f4b6f18c66c235bfa95c39a2a (patch)
treefb9919016fc16a85ea4e3241c737595d43d08e62 /tools/testing/selftests/cpu-hotplug
parenttools: memory-hotplug fix unexpected operator error (diff)
downloadkernel-qcow2-linux-5e4ff6950352ab2f4b6f18c66c235bfa95c39a2a.tar.gz
kernel-qcow2-linux-5e4ff6950352ab2f4b6f18c66c235bfa95c39a2a.tar.xz
kernel-qcow2-linux-5e4ff6950352ab2f4b6f18c66c235bfa95c39a2a.zip
tools: cpu-hotplug fix unexpected operator error
on-off-test is a bash script and invoked from /bin/sh This results in the following error: ./on-off-test.sh: 9: [: !=: unexpected operator Changed Makefile to use bash instead. Signed-off-by: Shuah Khan <shuah.kh@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/cpu-hotplug')
-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 ae5faf9aade2..790c23a9db44 100644
--- a/tools/testing/selftests/cpu-hotplug/Makefile
+++ b/tools/testing/selftests/cpu-hotplug/Makefile
@@ -1,6 +1,6 @@
all:
run_tests:
- @/bin/sh ./on-off-test.sh || echo "cpu-hotplug selftests: [FAIL]"
+ @/bin/bash ./on-off-test.sh || echo "cpu-hotplug selftests: [FAIL]"
clean: