[CRIU] [PATCH 03/14] zdtm: Add pty03 test

Cyrill Gorcunov gorcunov at openvz.org
Sun Sep 2 12:33:20 EDT 2012


Non-opened control terminal

* Set a control terminal
* Close a file descriptor on it
* Dump/restore
* Open the control terminal (/dev/tty)
* Check, that it connected to the master end

Signed-off-by: Andrey Vagin <avagin at openvz.org>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 test/zdtm/live/static/Makefile |    1 +
 test/zdtm/live/static/pty03.c  |   83 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+), 0 deletions(-)
 create mode 100644 test/zdtm/live/static/pty03.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-zdtm-Add-pty03-test.patch
Type: text/x-patch
Size: 2098 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120902/34395c25/0003-zdtm-Add-pty03-test.bin


More information about the CRIU mailing list