[CRIU] [PATCH 26/26] zdtm:fifo: check that read only fifo descriptor is restored

Cyrill Gorcunov gorcunov at openvz.org
Tue Jun 19 04:30:39 EDT 2012


* Create fifo and two descriptors rw and ro
* Write data and close rw descriptor
* Suspend/resume
* Read data from ro descriptor

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/fifo_ro.c |   94 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+), 0 deletions(-)
 create mode 100644 test/zdtm/live/static/fifo_ro.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0026-zdtm-fifo-check-that-read-only-fifo-descriptor-is-re.patch
Type: text/x-patch
Size: 2308 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120619/720bcf5e/0026-zdtm-fifo-check-that-read-only-fifo-descriptor-is-re.bin


More information about the CRIU mailing list