[Pdbg] [PATCH] test_hw_bmc.sh: Fix path to obmcutil
Alistair Popple
alistair at popple.id.au
Fri Sep 27 12:09:44 AEST 2019
The OpenBMC project seem to have moved the obmcutil command from
/usr/sbin to /usr/bin s remove the explicit path when calling obmcutil
to avoid issues running on different OpenBMC versions.
Signed-off-by: Alistair Popple <alistair at popple.id.au>
---
tests/test_hw_bmc.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_hw_bmc.sh b/tests/test_hw_bmc.sh
index ab6af35..e3d2e82 100755
--- a/tests/test_hw_bmc.sh
+++ b/tests/test_hw_bmc.sh
@@ -64,7 +64,7 @@ do_skip ()
echo -n "Checking if the host is up... "
-output=$(run_over_ssh /usr/sbin/obmcutil state | grep CurrentHostState)
+output=$(run_over_ssh obmcutil state | grep CurrentHostState)
rc=$?
if [ $rc -ne 0 ] || \
[ "$output" = "CurrentHostState : xyz.openbmc_project.State.Host.HostState.Running" ] ; then
--
2.20.1
More information about the Pdbg
mailing list