Forráskód Böngészése

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 <shuah.kh@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Shuah Khan 11 éve
szülő
commit
4813d2e736
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      tools/testing/selftests/memory-hotplug/Makefile

+ 1 - 1
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: