[CRIU] [PATCH 3/6] zdtm: Add pty03 test

Cyrill Gorcunov gorcunov at openvz.org
Sun Aug 26 12:35:39 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/20120826/325300eb/0003-zdtm-Add-pty03-test.bin


More information about the CRIU mailing list