criu/test
Alexander Mikhalitsyn e62e05c2d2 zdtm.py: clean up MAKEFLAGS env variable before running make instance
In most cases we run tests as:
./test/zdtm.py run -a

But it's also possible to run tests from root makefile:
make test

In this case, if criu tree have no ./test/umount2 binary
built we get the error like:
make[3]: *** No rule to make target 'umount2'. Stop.

It's worth to mention this "3". That's because we have
build process tree like this:
make -> make -> make -> zdtm.py -> make umount2
and also we have MAKEFLAGS variable set to:
build=-r -R -f ...

And that's bad because "-r" option means no builtin
rules and -R means no builtin variables. That makes
`make umount2` not working. Let's just cleanup this
variable to make things work properly.

Fixes: #1699
https://github.com/checkpoint-restore/criu/issues/1699

Signed-off-by: Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>
2022-04-28 17:53:52 -07:00
..
compel Run 'make indent' on header files 2021-09-03 10:31:00 -07:00
exhaustive python: replace equality with identity test 2022-04-28 17:53:52 -07:00
inhfd vim: remove wrong 8-space tabs indent from python files 2021-09-03 10:31:00 -07:00
javaTests javaTests: Add --file-locks option 2021-09-03 10:31:00 -07:00
jenkins ci: enable x86 xsave fault injection tests back 2022-04-28 17:53:52 -07:00
others tests: added test for single pre-dump support 2022-04-28 17:53:52 -07:00
pki test: create new tls certificates 2021-09-03 10:31:00 -07:00
zdtm make: Explicitly enable FPU on ARMv7 builds 2022-04-28 17:53:52 -07:00
.gitignore zdtm: Add javaTests output to .gitignore 2021-09-03 10:31:00 -07: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 vim: remove wrong 8-space tabs indent from python files 2021-09-03 10:31:00 -07: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 zdtm.py: clean up MAKEFLAGS env variable before running make instance 2022-04-28 17:53:52 -07:00
zdtm_ct.c test: another try to correctly fix the kernel version 2022-04-28 17:53:52 -07: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