From: Shuah Khan Date: Wed, 25 Jun 2014 21:31:37 +0000 (-0600) Subject: tools: memory-hotplug fix unexpected operator error X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=4813d2e7361468f06b400dea6706786d8e55dba6;p=deliverable%2Flinux.git tools: memory-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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/tools/testing/selftests/memory-hotplug/Makefile b/tools/testing/selftests/memory-hotplug/Makefile index 350bfeda3aa8..058c76f5d102 100644 --- a/tools/testing/selftests/memory-hotplug/Makefile +++ b/tools/testing/selftests/memory-hotplug/Makefile @@ -1,6 +1,6 @@ all: run_tests: - @/bin/sh ./on-off-test.sh || echo "memory-hotplug selftests: [FAIL]" + @/bin/bash ./on-off-test.sh || echo "memory-hotplug selftests: [FAIL]" clean: