[CRIU] [PATCH] zdtm/inotify00: fix expected sets of events

Cyrill Gorcunov gorcunov at gmail.com
Fri Sep 5 08:35:11 PDT 2014


On Fri, Sep 05, 2014 at 07:27:10PM +0400, Andrey Vagin wrote:
> zdtm.sh with zero iterations of dumping/restoring checks correctness of
> tests.
> 
> $ bash test/zdtm.sh -i 0 zdtm/inotify00
> Output file: /root/git/orig/criu/test/zdtm/live/static/inotify00.out
> ------------------------------------------------------------------------------
> 19:16:29.601:  6905: 	unlink 02       : event      0x200 -> IN_DELETE
> 19:16:29.602:  6905: 	unlink 02       : event      0x200 -> IN_DELETE
> 19:16:29.602:  6905: 	unlink 02       : event        0x8 -> IN_CLOSE_WRITE
> 19:16:29.602:  6905: 	unlink 02       : event        0x8 -> IN_CLOSE_WRITE
> 19:16:29.602:  6905: 	unlink 02       : event      0x400 -> IN_DELETE_SELF
> 19:16:29.602:  6905: 	unlink 02       : event     0x8000 -> IN_IGNORED
> 19:16:29.602:  6905: 	unlink 02       : read  6 events
> 19:16:29.614:  6905: 	after           : event        0x8 -> IN_CLOSE_WRITE
> 19:16:29.614:  6905: 	after           : read  1 events
> 19:16:29.614:  6905: FAIL: inotify00.c:217: Unhandled events in emask 0x200 -> IN_DELETE (errno = 11 (Resource temporarily unavailable))
> ------------------------------------- END -------------------------------------
> ================================= ERROR OVER =================================
> 
> This patch removes logic about linked files, because it's useless.
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
Acked-by: Cyrill Gorcunov <gorcunov at openvz.org>

Thanks Andrew!


More information about the CRIU mailing list