diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-06-19 16:33:16 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-06-19 17:36:51 +1000 |
commit | f6c4a51a8244467c978d51e8128eca0347c9135d (patch) | |
tree | c760a525835a471ab3fb27199745723bba9d4a32 /test | |
parent | 71de2375d28d8dba3b50f4857540bc68da3e5856 (diff) | |
download | skiboot-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-x | test/hello_world/run_mambo_p9_hello_world.sh | 2 |
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 |