[LTP] [PATCH v3] Rewrite eventfd01 using new LTP API

Petr Vorel pvorel@suse.cz
Fri Jul 21 14:50:12 CEST 2023


Hi Andrea,

> Hi Andrea,

> Reviewed-by: Petr Vorel <pvorel@suse.cz>

> > +	TST_EXP_FD(eventfd(EVENT_COUNT, EFD_NONBLOCK));
> > +	fd = TST_RET;

> NOTE: we could merge the testsuite now, but if you send soon the patch for
> macros returning TST_RET (you discussed with Cyril at v2), all tests could be
> adapted before merge.

Once you have time, could you please send v4, which uses code proposed by Cyril?

fd = TST_EXP_FD(eventfd(0, EFD_NONBLOCK));

Or, Cyril, if you post your RBT, I can change this before merge. Because the
proposed include/tst_test_macros.h change was merged in 303eb96a3
("tst_test_macros.h: Support return value in TST_* macros") we should finish
this nice work.

Kind regards,
Petr


> Kind regards,
> Petr

[1] https://lore.kernel.org/ltp/ZBwgtsRUnkhzZFxZ@yuki/


More information about the ltp mailing list