• Andrei Vagin's avatar
    fault: add ability to fault open_by_handel in check_open_handle · c5c54345
    Andrei Vagin authored
    From code coverage report, we found that inotify_irmap doesn't test irmap
    cache, because we is always able to resolve path from /proc/PID/fd/X.
    
    Current view:	top level - criu - irmap.c (source / functions)			Hit	Total	Coverage
    Test:	criu.info		Lines:	40	223	17.9 %
    Date:	2016-03-16		Functions:	4	13	30.8 %
    
    This series introduces a new fault to emulate a situation
    when a file can't be opened by handle and we have to find
    it in the irmap cache/
    
    It's required to test irmap cache. I don't know how to force it
    without this patch. Each time when a file can be opened by handle,
    its path can be resolved via /proc/PID/fd/X.
    Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    c5c54345
Name
Last commit
Last update
..
inhfd Loading commit data...
jenkins Loading commit data...
others Loading commit data...
zdtm Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
crit-recode.py Loading commit data...
groups.desc Loading commit data...
inhfd.desc Loading commit data...
zdtm.desc Loading commit data...
zdtm.py Loading commit data...
zdtm_ct.c Loading commit data...
zdtm_mount_cgroups Loading commit data...