diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2016-10-14 18:42:46 +0000 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2016-10-17 16:50:09 +0000 |
commit | c7934185fec8e7746f0660df71b3c03d48a0b132 (patch) | |
tree | bc987873e050570da4ac6b847ebbba363bda71e4 /test/TEST-13-NSPAWN-SMOKE/Makefile | |
parent | c7458f93991105e9890b0ec8dfc849b019b5df5f (diff) |
tests: add smoke test for systemd-nspawn
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 :-)
Diffstat (limited to 'test/TEST-13-NSPAWN-SMOKE/Makefile')
-rw-r--r-- | test/TEST-13-NSPAWN-SMOKE/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/TEST-13-NSPAWN-SMOKE/Makefile b/test/TEST-13-NSPAWN-SMOKE/Makefile new file mode 100644 index 0000000000..2ca5b12cf3 --- /dev/null +++ b/test/TEST-13-NSPAWN-SMOKE/Makefile @@ -0,0 +1,11 @@ +all: has-overflow + @make -s --no-print-directory -C ../.. all + @basedir=../.. TEST_BASE_DIR=../ ./test.sh --all +setup: has-overflow + @make --no-print-directory -C ../.. all + @basedir=../.. TEST_BASE_DIR=../ ./test.sh --setup +clean: + @basedir=../.. TEST_BASE_DIR=../ ./test.sh --clean + @rm -f has-overflow +run: + @basedir=../.. TEST_BASE_DIR=../ ./test.sh --run |