• Cyrill Gorcunov's avatar
    tests: others,rpc -- Tune up header · 7ac24b53
    Cyrill Gorcunov authored
    - string.h is missed for memX helpers
     - fcntl.h should be included instead of sys
    
    With this patch the test-c is compiled on alpine tests,
    but there is a problem related to the container itself
    
     | protoc-c --proto_path=. --c_out=. rpc.proto
     | gcc -g -Werror -Wall -I.   -c -o test-c.o test-c.c
     | gcc -g -Werror -Wall -I.   -c -o rpc.pb-c.o rpc.pb-c.c
     | gcc   test-c.o rpc.pb-c.o  -lprotobuf-c -o test-c
     | protoc --proto_path=. --python_out=. rpc.proto
     | cp ../../../criu/criu criu
     | chmod u+s criu
     | mkdir -p build
     | chmod a+rwx build
     | sudo -g '#1000' -u '#1000' ./criu service -v4 -W build -o service.log --address criu_service.socket -d --pidfile pidfile
     | make: sudo: Command not found
    Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    7ac24b53
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...