• 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
..
_run_ct Loading commit data...
crit.sh Loading commit data...
criu-btrfs.sh Loading commit data...
criu-by-id.sh Loading commit data...
criu-dedup.sh Loading commit data...
criu-dump.sh Loading commit data...
criu-fault.sh Loading commit data...
criu-fcg.sh Loading commit data...
criu-groups.sh Loading commit data...
criu-inhfd.sh Loading commit data...
criu-iter.sh Loading commit data...
criu-lib.sh Loading commit data...
criu-other.sh Loading commit data...
criu-overlay.sh Loading commit data...
criu-pre-dump.sh Loading commit data...
criu-sibling.sh Loading commit data...
criu-snap.sh Loading commit data...
criu-user.sh Loading commit data...
criu.sh Loading commit data...
run_ct Loading commit data...