1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00
systemd-stable/test/TEST-15-DROPIN
Topi Miettinen 7a670b1dd9 shared/dropin: fix assert for invalid drop-in
Don't try to show top level drop-in for non-existent units or when trying to
instantiate non-instantiated units:

$ systemctl cat nonexistent@.service
Assertion 'name' failed at src/shared/dropin.c:143, function unit_file_find_dirs(). Aborting.
$ systemctl cat systemd-journald@.service
Assertion 'name' failed at src/shared/dropin.c:143, function unit_file_find_dirs(). Aborting.
2019-12-18 08:43:40 +01:00
..
Makefile tests: add dropin dependency tests 2017-02-07 21:32:10 -05:00
test-dropin.sh shared/dropin: fix assert for invalid drop-in 2019-12-18 08:43:40 +01:00
test.sh test: add function to reduce copied setup boilerplate 2019-10-08 09:10:12 +02:00
testsuite.service test: drop 'After=multi-user.target' from most of testsuite.service 2018-11-03 18:00:47 +09:00