• Dmitry Safonov's avatar
    compel: add tests for compel · 6fe6a283
    Dmitry Safonov authored
    Yet they only test for ELF header, but soon I'll add more of them.
    It's build with
      $ make test/compel/handle_binary
    and test output is in TAP format:
      $ ./test/compel/handle_binary
      ok 1 - check zero ELF header
      ok 2 - check non-supported ELF header
      ok 3 - check non-relocatable ELF header
      ok 4 - check zero ELF header
      ok 5 - check non-supported ELF header
      ok 6 - check non-relocatable ELF header
    (here two runs for x86_64 and x86_32 ELF binaries)
    I'm planning to integrate it with Travis, so we will be
    sure that compel is properly working (as this tests doesn't need
    any ns and may be run on qemu-static).
    
    Cc: Cyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
    Reviewed-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    6fe6a283
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.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...