From: Zbigniew Jędrzejewski-Szmek Date: Tue, 30 Jul 2019 10:28:48 +0000 (+0200) Subject: TEST-15-DROPIN: add test for details of unit aliasing X-Git-Tag: v243-rc1~1^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54f44034852e640b4e6e89b8a9c5bd9834574de7;p=thirdparty%2Fsystemd.git TEST-15-DROPIN: add test for details of unit aliasing I adjusted the tests to pass. I don't think the behaviour makes much sense, even if we ignore the issue with "lazy loading" of aliases. E.g. in the last section, the fact that dropins for yup@.service and yup@3.service are not loaded seems to be a plain old bug. --- diff --git a/test/TEST-15-DROPIN/test-dropin.sh b/test/TEST-15-DROPIN/test-dropin.sh index 02962a8a070..f7856807c45 100755 --- a/test/TEST-15-DROPIN/test-dropin.sh +++ b/test/TEST-15-DROPIN/test-dropin.sh @@ -109,10 +109,148 @@ test_template_dropins () { create_services foo bar@ yup@ + # Declare some deps to check if the body was loaded + cat >>/etc/systemd/system/bar@.service <>/etc/systemd/system/yup@.service <