epoll_creat01: Replace TST_PASS with TST_RET
PATCH v2 1/1 epoll_creat01: Replace TST_PASS with TST_RET
In TST_EXP_FD(), the value of TST_RET is the returned fd, not TST_PASS.
Fixes 081f940b2df00 ("epoll_create: Add test for epoll_create01")
Suggested-by Cyril Hrubis <[email protected]>
Signed-off-by Xie Ziyao <[email protected]>
Reviewed-by Cyril Hrubis <[email protected]>
--- testcases/kernel/syscalls/epoll_create/epoll_create01.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/syscalls/epoll_create/epoll_create01.c +1 -1
@@ -28,7 +28,7 @@ static void run(unsigned int n)if (!TST_PASS )return ; -SAFE_CLOSE (TST_PASS ); +SAFE_CLOSE (TST_RET ); }static struct tst_test test = {
--
2.25.1
PATCH v2 1/1 epoll_creat01: Replace TST_PASS with TST_RET
Hi!
Pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]