[CRIU] [PATCH cr 2/2] zdtm: check restore of TCP connections

Andrey Vagin avagin at openvz.org
Mon Aug 27 08:44:15 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.

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 |  108 ++++++++++++++++++++++++++++++++++++
 3 files changed, 112 insertions(+), 2 deletions(-)
 create mode 100644 test/zdtm/live/static/socket-tcp.c

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


More information about the CRIU mailing list