summaryrefslogtreecommitdiff
path: root/test/TEST-13-NSPAWN-SMOKE/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* tests: clean up again after running tests (#10446)Lennart Poettering2018-10-191-1/+4
| | | | | | | | | | | | | | | | | Currently, if I run the full "run-integration-tests.sh" script it will fail on my machine because it fills up /var/tmp whith just too much crap until the disk is full. Let's make sure that "run-integration-tests.sh" cleans up after every test. For that change the make targets to run from "clean setup run" to "clean setup run clean" — except that that doesn't work since make is smart enough to realize that the same target appears twice on the command line and will only execute it once. Let's fix that by defining another target "clean-again" which is just like "clean", but allows us to be added to the same command line a second time. Then, let's build with "clean setup run clean-again" and all is good. While we are at it, let's also add .PHONY where appropriate, after all these all are phony targets.
* test: make sure "make" in the test directories works againLennart Poettering2017-12-151-1/+1
| | | | Fixes: #7648
* tests: try to autodetect directory betterZbigniew Jędrzejewski-Szmek2017-12-061-1/+1
| | | | | | | | | | Ignore mkosi.builddir. In the future we can also add other patterns if necessary. run-intergration-tests.sh is updated to use the new script, and modified to work from arbitrary directory. Follow-up for #7494.
* test: try to guess the build directoryZbigniew Jędrzejewski-Szmek2017-07-181-1/+3
| | | | | This will work if $(TOP_SRC_DIR) has exactly one subdirectory with .ninja_deps. Otherwise, BUILD_DIR has to be specified.
* test: convert test/ to use meson installZbigniew Jędrzejewski-Szmek2017-07-181-8/+2
| | | | | | | | | | | | | Automatic rebuilding is removed: it doesn't play well with ninja, because ninja always writes logs, and even if nothing needs to be built, it will make the log file owned by root. So let's just remove this, and say that the user must always do the build first. I'm also keeping make for the tests, because ninja doesn't play well with sudo. Since the build directory is arbitrary, it needs to be specified, e.g. sudo make BUILD_DIR=/home/zbyszek/src/systemd/build1 -C test/TEST-01-BASIC/
* tests/TEST-13-NSPAWN-SMOKE: remove an expected failure checkEvgeny Vereshchagin2016-10-231-2/+2
| | | | | https://github.com/systemd/systemd/issues/4352 has been fixed So, we don't need this workaround anymore
* tests: add smoke test for systemd-nspawnEvgeny Vereshchagin2016-10-171-0/+11
Basically, this test runs: ``` systemd-nspawn --register=no -D "$_root" -b systemd-nspawn --register=no -D "$_root" --private-network -b systemd-nspawn --register=no -D "$_root" -U -b systemd-nspawn --register=no -D "$_root" --private-network -U -b ``` and exports the `UNIFIED_CGROUP_HIERARCHY=[yes|no]`, `SYSTEMD_NSPAWN_USE_CGNS=[yes|no]` Inspired by * systemd#3589 (comment) * systemd#4372 (comment) * systemd#4223 (comment) * systemd#1555 and so on :-)