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

Jan Stancek jstancek@redhat.com
Thu Dec 19 14:43:03 CET 2019



----- 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.



More information about the ltp mailing list