Skip to content
Commit b2473542 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by Andrei Vagin
Browse files

zdtm: Fix race in zdtm/transition/epoll.c test



Child may see close() result before it receives signal,
while it shouldn't see it. Instead of games with later
close(), just stop do it. sys_exit() after program finish
will close them all.

Reported-by: default avatarAndrey Vagin <avagin@virtuozzo.com>
Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
parent 900025db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment