[LTP] [PATCH 0/3] Rewrite aio_cancel_2-1
Martin Doucha
mdoucha@suse.cz
Tue Feb 3 13:50:23 CET 2026
Rewrite another aio_cancel() test which hopes it can win a race
against unblocked writes into a file. Also add shared setup and
cleanup helper functions for AIO writes into a socket pair and
use them in the two already rewritten tests.
Martin Doucha (3):
openposix/aio_cancel: Add helper functions for setup and cleanup
openposix/aio_cancel: Use setup helper functions in tests 5 and 7
aio_cancel_2-1: Rewrite test
.../conformance/interfaces/aio_cancel/2-1.c | 86 +++++++++--------
.../conformance/interfaces/aio_cancel/5-1.c | 79 +++-------------
.../conformance/interfaces/aio_cancel/7-1.c | 79 ++--------------
.../open_posix_testsuite/include/aio_test.h | 94 +++++++++++++++++++
4 files changed, 163 insertions(+), 175 deletions(-)
create mode 100644 testcases/open_posix_testsuite/include/aio_test.h
--
2.52.0
More information about the ltp
mailing list