TEST-15: add test for transient units with drop-ins
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 16 Oct 2022 12:02:45 +0000 (14:02 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 16 Oct 2022 12:20:58 +0000 (14:20 +0200)
commit6854434cfb5dda10c07d95835c38b75e5e71c2b5
tree0813296b34b9d397732658d648758deae39fbfe3
parentf80c874af376052b6b81f47cbbc43d7fecd98cd6
TEST-15: add test for transient units with drop-ins

We want to test four things:
- that the transient units are successfully started when drop-ins exist
- that the transient setings override the defaults
- the drop-ins override the transient settings (the same as for a normal unit)
- that things are the same before and after a reload

To make things more fun, we start and stop units in two different ways: via
systemctl and via a direct busctl invocation. This gives us a bit more coverage
of different code paths.
test/units/testsuite-15.sh