[CRIU] [PATCH 2/6] zdtm: Add pty02 test

Cyrill Gorcunov gorcunov at openvz.org
Sun Aug 26 12:35:38 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/20120826/4309cb41/0002-zdtm-Add-pty02-test.bin


More information about the CRIU mailing list