aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2017-06-19 16:33:16 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-06-19 17:36:51 +1000
commitf6c4a51a8244467c978d51e8128eca0347c9135d (patch)
treec760a525835a471ab3fb27199745723bba9d4a32 /test
parent71de2375d28d8dba3b50f4857540bc68da3e5856 (diff)
downloadskiboot-f6c4a51a8244467c978d51e8128eca0347c9135d.zip
skiboot-f6c4a51a8244467c978d51e8128eca0347c9135d.tar.gz
skiboot-f6c4a51a8244467c978d51e8128eca0347c9135d.tar.bz2
test/hello_world: Properly report P9MAMBO path
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@ellerman.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/hello_world/run_mambo_p9_hello_world.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hello_world/run_mambo_p9_hello_world.sh b/test/hello_world/run_mambo_p9_hello_world.sh
index eee0f73..022c71e 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