]> git.ipfire.org Git - thirdparty/systemd.git/commit - test/TEST-13-NSPAWN-SMOKE/test.sh
tests: add smoke test for systemd-nspawn
authorEvgeny Vereshchagin <evvers@ya.ru>
Fri, 14 Oct 2016 18:42:46 +0000 (18:42 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Mon, 17 Oct 2016 16:50:09 +0000 (16:50 +0000)
commitc7934185fec8e7746f0660df71b3c03d48a0b132
treebc987873e050570da4ac6b847ebbba363bda71e4
parentc7458f93991105e9890b0ec8dfc849b019b5df5f
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 :-)
Makefile.am
test/TEST-13-NSPAWN-SMOKE/Makefile [new file with mode: 0644]
test/TEST-13-NSPAWN-SMOKE/create-busybox-container [new file with mode: 0755]
test/TEST-13-NSPAWN-SMOKE/has-overflow.c [new file with mode: 0644]
test/TEST-13-NSPAWN-SMOKE/test.sh [new file with mode: 0755]