[LTP] [PATCH v2 1/4] syscalls/mq_timedreceive: Add check data returned from mq_timedreceive

Cyril Hrubis chrubis@suse.cz
Thu Jun 29 15:09:18 CEST 2017


Hi!
> +	for (j = 0; j < tc->len; j++) {
> +		if (rmsg[j] != smsg[j]) {
> +			tst_res(TFAIL | TTERRNO, "mq_timedreceive wrong data in loop %d returned %d, expected %d",
                                         ^
                                      I've removed the TTERRNO here and
				      from the previous message as well,
				      since that will always print
				      SUCCESS here anyway and pushed,
				      thanks.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list