[Pdbg] [PATCH] test_hw_bmc.sh: Fix path to obmcutil

Amitay Isaacs amitay at ozlabs.org
Fri Sep 27 15:04:19 AEST 2019


On Fri, 2019-09-27 at 14:54 +1000, Amitay Isaacs wrote:
> Reviewed-by: Amitay Isaacs <amitay at ozlabs.org>
> 
> On Fri, 2019-09-27 at 12:09 +1000, Alistair Popple wrote:
> > The OpenBMC project seem to have moved the obmcutil command from
> > /usr/sbin to /usr/bin s remove the explicit path when calling

Typo in the commit message..

/usr/sbin to /usr/bin, so ...

> > 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
> > 
> 
> Amitay.
> -- 
> 
> Art is man's attempt to improve on nature.
> 

Amitay.
-- 

We are born naked, wet and hungry. Then things get worse.



More information about the Pdbg mailing list