• Adrian Reber's avatar
    test/zdtm.py: add option to specify external criu for test suite · 2899d58f
    Adrian Reber authored
    I am regularly running zdtm.py after updating the CRIU rpm to test if
    the new rpm still works. Until know I usually did:
    
    -criu_bin = "../criu/criu"
    -crit_bin = "../crit/crit"
    +criu_bin = "/usr/sbin/criu"
    +crit_bin = "/usr/bin/crit"
    
    This commit adds two arguments to zdtm.py:
    
      --criu-bin CRIU_BIN   Path to criu binary
      --crit-bin CRIT_BIN   Path to crit binary
    
    It still defaults to the old values from above, but can now easily be
    changed to the CRIU binary provided by the packaging system.
    
    This change was more complicated than expected which is probably related
    to the fact that zdtm restarts itself in namespaces.
    
    v2:
     - rebase
    v3:
     - fix errors reported by 'make lint'
    Signed-off-by: 's avatarAdrian Reber <areber@redhat.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    2899d58f
Name
Last commit
Last update
..
compel Loading commit data...
inhfd Loading commit data...
jenkins Loading commit data...
others Loading commit data...
zdtm Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
abrt.sh Loading commit data...
check_actions.py Loading commit data...
crit-recode.py Loading commit data...
empty-netns-prep.sh Loading commit data...
groups.desc Loading commit data...
inhfd.desc Loading commit data...
pycriu Loading commit data...
show_action.sh Loading commit data...
umount2.c 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...