[LTP] [PATCH 4/4 v2] syscalls/io_submit: Add io_submit03 test for native AIO
Cyril Hrubis
chrubis@suse.cz
Thu Jun 10 10:26:29 CEST 2021
Hi!
> +static void cleanup(void)
> +{
> + if (rdonly_fd > 0)
> + SAFE_CLOSE(rdonly_fd);
> + if (wronly_fd > 0)
> + SAFE_CLOSE(wronly_fd);
> + TST_EXP_PASS_SILENT(tst_syscall(__NR_io_destroy, ctx));
I've replaced these PASS_SILENT() with plain old tst_brk(TBROK ...) in
the last two tests and pushed, thanks.
The TST_EXP_* macros are intended for the actual test and not for
setup/cleanup where the test is supposed to report TBROK if something
goes wrong.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list