• 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
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.compel Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...