[CRIU] [PATCH cr] zdtm: check restore of TCP connections (v2)

Andrey Vagin avagin at openvz.org
Mon Aug 27 09:02:18 EDT 2012


The test creates two processes.
A first process creates a tcp server, a second one connects to it.
The first process is dumped and restored.
Then the test checks that the TCP connection is alive.

v2: fix compilation :)

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 test/zdtm.sh                       |    5 +-
 test/zdtm/live/static/Makefile     |    1 +
 test/zdtm/live/static/socket-tcp.c |  106 ++++++++++++++++++++++++++++++++++++
 3 files changed, 110 insertions(+), 2 deletions(-)
 create mode 100644 test/zdtm/live/static/socket-tcp.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-zdtm-check-restore-of-TCP-connections-v2.patch
Type: text/x-patch
Size: 3551 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120827/f67f4ba5/0001-zdtm-check-restore-of-TCP-connections-v2.bin


More information about the CRIU mailing list