• Andrey Vagin's avatar
    zdtm/inotify00: fix expected sets of events · 5fcebf2d
    Andrey Vagin authored
    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: 's avatarAndrey Vagin <avagin@openvz.org>
    Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    5fcebf2d
inotify00.opts 13 Bytes