criu/test
Ashutosh Mehra f8125b8bef Couple of fixes to build and run libcriu tests
libcriu tests are currently broken. This patch fixes couple of
issues to allow the building and running libcriu tests.

1. lib/c/criu.h got updated to include version.h which is present
at "criu/include", but the command to compile libcriu tests is not
specifying "criu/include" in the path to be searched for header
files. This resulted in compilation error.
This can be fixed by adding "-I ../../../../../criu/criu/include"
however it causes more problems as "criu/include/fcntl.h" would now
hide system defined fcntl.h
Solution is to use "-iquote ../../../../../criu/criu/include"
which applies only to the quote form of include directive.

2. Secondly, libcriu.so major version got updated to 2 but
libcriu/run.sh still assumes verion 1. Instead of just updating the
version in libcriu/run.sh to 2, this patch updates the libcriu/Makefile
to use "CRIU_SO_VERSION_MAJOR" so that future changes to major version
of libcriu won't cause same problem again.

Signed-off-by: Ashutosh Mehra <asmehra1@in.ibm.com>
2020-02-04 12:39:04 -08:00
..
compel compel: Provide piegen_opt_t in library 2019-04-20 20:25:26 -07:00
exhaustive py: Reformat everything into pep8 style 2019-09-07 15:59:56 +03:00
inhfd py: Reformat everything into pep8 style 2019-09-07 15:59:56 +03:00
jenkins test/jenkins: actually test lazy migration 2019-04-20 20:25:26 -07:00
others Couple of fixes to build and run libcriu tests 2020-02-04 12:39:04 -08:00
pki zdtm: Add --tls option 2019-09-07 15:59:53 +03:00
zdtm zdtm/cgroup_yard: create a test cgroup yard from the post-start hook 2020-02-04 12:38:24 -08:00
.gitignore gitignores: ignore some more generated files 2017-03-15 00:05:55 +03:00
abrt.sh test/abrt: skip core dumps from the seccomp_filter test 2019-04-20 20:25:26 -07:00
check_actions.py test/other: Resolve Py3 compatibility issues 2019-09-07 15:59:56 +03:00
crit-recode.py py: Reformat everything into pep8 style 2019-09-07 15:59:56 +03:00
empty-netns-prep.sh test: don't use nsenter in tests 2017-05-19 09:17:20 +03:00
groups.desc zdtm.py: Generator of groups of tests 2015-12-08 14:54:41 +03:00
inhfd.desc zdtm.py: Add inhfd tests for --inherit-fd option 2015-10-19 12:42:01 +03:00
Makefile Modify and add test for configuration file functionality 2018-10-30 19:27:52 +03:00
pycriu Adapt zdtm for python3 compatibility 2018-07-09 18:25:16 +03:00
show_action.sh test: Check action scripts to work as we expect 2016-05-06 14:39:25 +03:00
umount2.c zdtm: add a program to umount a test root 2016-09-26 15:42:40 +03:00
zdtm.desc test: Get rid of live directory 2016-02-20 13:40:52 +03:00
zdtm.py image: avoid name conflicts in image files 2020-02-04 12:39:04 -08:00
zdtm_ct.c test: don't do MS_REC|MS_PRIVATE for host mounts 2016-09-06 19:31:20 +03:00
zdtm_mount_cgroups tests: prevent zdtm_mount_cgroups from failing w/ EBUSY 2016-02-03 16:25:28 +03:00
zdtm_umount_cgroups zdtm: cleanup zdtmtst and zdtmtst.defaultroot cgroups after finishing test 2018-10-30 19:27:58 +03:00