[CRIU] [PATCH 02/14] zdtm: Add pty02 test

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


The test is tricky -- it opens master in task 1
and dup it in task 2, then close in task 1 and
do C/R.

Thus we need to setup SID of master terminal
somehow in children, which usually fails in
currnt tty restore implementation.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-zdtm-Add-pty02-test.patch
Type: text/x-patch
Size: 2463 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120902/c076e516/0002-zdtm-Add-pty02-test-0001.bin


More information about the CRIU mailing list