[Skiboot] [PATCH] test/hello_world: Properly report P9MAMBO path

Michael Ellerman mpe at ellerman.id.au
Mon Jun 19 16:33:16 AEST 2017


In the P9 hello script we look for $P9MAMBO_BINARY, but then if we don't
find it we print a message using $MAMBO_BINARY, which is confusing:

  $ set -x P9MAMBO_BINARY run/p9/run_cmdline
  $ ./test/hello_world/run_mambo_p9_hello_world.sh
  Could not find executable P9MAMBO_BINARY (/opt/ibm/systemsim-p9//).

Fix it so the right thing is printed:

  Could not find executable P9MAMBO_BINARY (/opt/ibm/systemsim-p9//run/p9/run_cmdline).

Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
---
 test/hello_world/run_mambo_p9_hello_world.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/hello_world/run_mambo_p9_hello_world.sh b/test/hello_world/run_mambo_p9_hello_world.sh
index eee0f733981a..022c71e372fd 100755
--- a/test/hello_world/run_mambo_p9_hello_world.sh
+++ b/test/hello_world/run_mambo_p9_hello_world.sh
@@ -9,7 +9,7 @@ if [ -z "$P9MAMBO_BINARY" ]; then
 fi
 
 if [ ! -x "$P9MAMBO_PATH/$P9MAMBO_BINARY" ]; then
-    echo "Could not find executable P9MAMBO_BINARY ($P9MAMBO_PATH/$MAMBO_BINARY). Skipping hello_world test";
+    echo "Could not find executable P9MAMBO_BINARY ($P9MAMBO_PATH/$P9MAMBO_BINARY). Skipping hello_world test";
     exit 0;
 fi
 
-- 
2.7.4



More information about the Skiboot mailing list