diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-03-15 10:13:18 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-03-29 16:17:56 +0200 |
commit | 0c003e8305188f25429938c7c4d09c0a5dfc961b (patch) | |
tree | eb14aaea292a0ca974e2181dbb938ce8b925870b /src/shared/install.c | |
parent | shared/install: fix reenable on linked unit files (diff) | |
download | systemd-0c003e8305188f25429938c7c4d09c0a5dfc961b.tar.xz systemd-0c003e8305188f25429938c7c4d09c0a5dfc961b.zip |
test-systemctl-enable: extend the test for repeated WantedBy/RequiredBy
I was considering deduplicating the list of target units in
WantedBy/RequiredBy. But to do this meaningfully, we'd need to do alias
expansion first, i.e. after the initial parsing is done. This seems to be
more trouble than it would be worth.
Instead, I added tests that we're doing the right thing and creating symlinks
as expected. For duplicate links, we create the link, and on the second time we
see that the link is already there, so the output is correct.
Diffstat (limited to 'src/shared/install.c')
0 files changed, 0 insertions, 0 deletions