]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
support/testing: add runtime testing for read-only systemd
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 1 Aug 2017 22:52:24 +0000 (00:52 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 2 Aug 2017 19:00:44 +0000 (21:00 +0200)
commitdd9dfb64eaefb2561d928effdd93bd5bc2c702bd
tree3cf8fa889c37690683cc02d7d4a0d77a49cd9063
parent26085bbbd50083e87b8540fa043d712ce8e85f61
support/testing: add runtime testing for read-only systemd

We add the 3 following combinations:

  - basic systemd, read-only, network w/ ifupdown
  - basic systemd, read-only, network w/ networkd
  - full systemd, read-only, network w/ networkd

The tests just verify what the /sbin/init binary is, and that we were
able to grab an IP address. More tests can be added later, for example
to check each systemd features (journal, tmpfiles...)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Arnout: regenerate .gitlab-ci.yml]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
.gitlab-ci.yml
support/testing/tests/init/systemd-factory/var/foo/bar [new file with mode: 0644]
support/testing/tests/init/test_systemd.py