[LTP] [PATCH v2 03/10] Rewrite sem_comm.c using new LTP API

Cyril Hrubis chrubis@suse.cz
Thu Mar 10 16:43:30 CET 2022


Hi!
> +	TEST(semop(id, &sm, 1));
> +	if (TST_RET < 0) {
> +		if (TST_ERR != EAGAIN)
> +			tst_brk(TBROK | TERRNO, "semop error");
> +
> +		tst_res(TFAIL, "SysV sem: communication with identical keys between namespaces");
> +	} else {
> +		tst_res(TPASS, "SysV sem: communication with identical keys between namespaces");
>  	}

Same here, the messages can be better than that, otherwise looks good.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list