[LTP] [PATCH 6/7] epoll_create: Add test for epoll_create01

Cyril Hrubis chrubis@suse.cz
Wed Aug 25 14:00:04 CEST 2021


Hi!
> +	fd = tst_syscall(__NR_epoll_create, tc[n]);
> +	if (fd < 0)
> +		tst_brk(TFAIL | TERRNO, "epoll_create(%d) failed", tc[n]);
> +	tst_res(TPASS, "epoll_create(%d)", tc[n]);

We even have TST_EXP_FD() exactly for this case.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list