[LTP] [PATCH 1/1] tst_test.sh: Add return value to _tst_expect_{fail, pass}

Petr Vorel pvorel@suse.cz
Fri Dec 20 17:17:45 CET 2019


Hi Jan,

> ----- Original Message -----
> > +It's possible to detect whether expected value happened:
> > +[source,sh]
> > +-------------------------------------------------------------------------------
> > +if ! EXPECT_PASS command arg1 2\> /dev/null; then
> > +	continue
> > +fi
> > +-------------------------------------------------------------------------------
> > +

> Looks useful, ack.
Thank you for your review, merged with your ack.

Kind regards,
Petr


More information about the ltp mailing list