From: Shuah Khan Date: Thu, 26 Jun 2014 00:42:17 +0000 (+1000) Subject: tools: cpu-hotplug fix unexpected operator error X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0fec4b499e87e170c8237c5ae6d91cb861f2323f;p=karo-tx-linux.git 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 Chang Makefile to use bash instead. Signed-off-by: Shuah Khan Signed-off-by: Andrew Morton --- 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: