[CRIU] [PATCH] test: eventfs00 -- Close epoll and pipe on exit

Cyrill Gorcunov gorcunov at openvz.org
Tue Dec 22 05:02:17 PST 2015


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 test/zdtm/live/static/eventfs00.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/test/zdtm/live/static/eventfs00.c b/test/zdtm/live/static/eventfs00.c
index 69fc88186986..708fc23a0b59 100644
--- a/test/zdtm/live/static/eventfs00.c
+++ b/test/zdtm/live/static/eventfs00.c
@@ -93,6 +93,11 @@ int main(int argc, char *argv[])
 		exit(1);
 	}
 
+	close(pipefd[0]);
+	close(pipefd[1]);
+	close(efd);
+	close(epollfd);
+
 	pass();
 	return 0;
 }
-- 
2.5.0



More information about the CRIU mailing list