[LTP] [PATCH v3 2/3] include/tst_test_macro.h: Add TST_EXP_FAIL2 macros
    Cyril Hrubis 
    chrubis@suse.cz
       
    Mon Jun 28 17:02:56 CEST 2021
    
    
  
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
    
    
More information about the ltp
mailing list