[LTP] [PATCH 2/3] syscalls/pwritev01: convert to new test API
Cyril Hrubis
chrubis@suse.cz
Wed Apr 20 16:22:57 CEST 2016
Hi!
> TEST(pwritev(fd, wr_iovec, tc->count, tc->offset));
> if (TEST_RETURN < 0) {
> - tst_resm(TFAIL | TTERRNO, "Pwritev(2) failed");
> + tst_res(TFAIL | TERRNO, "pwritev() failed");
^
I've changed this back to TTERRNO
since we use the TEST() macro here.
And also merged this patch with the next one to avoid failures when the
fallback from pwritev.h is used with the new macro in the old library
and pushed. Thanks.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list