[LTP] [PATCH v3 2/3] include/tst_test_macro.h: Add TST_EXP_FAIL2 macros

Cyril Hrubis
2021-06-28T15:02:56Z

Hi!
> +[source,c]
> +-------------------------------------------------------------------------------
> +static void test(void)
> +{
> + ...
> + TST_EXP_FAIL2(msgget(key, flags), EINVAL, "msgget(%i, %i)", key, flags);
> + ...
> +}
> +The 'TST_EXP_FAIL2()' is the same as 'TST_EXP_FAIL' the only difference is that
> +the return value is a non-negative integer if call passes.
> +

I've fixed this part, it was missing the end of the code block (the ----
at the end) and reworded the description a bit and pushed, thanks.

--
Cyril Hrubis
chrubis@suse.cz