From: Filipe Brandenburger Date: Fri, 2 Mar 2018 05:07:27 +0000 (-0800) Subject: test: masked unit with drop-ins X-Git-Tag: v238~27^2 X-Git-Url: http://git-history.diyao.me/?a=commitdiff_plain;h=67348e791dd0c546965e48cc091f1e8245b9260d;p=systemd%2F.git test: masked unit with drop-ins --- diff --git a/test/TEST-15-DROPIN/test-dropin.sh b/test/TEST-15-DROPIN/test-dropin.sh index 9d8af99ac4..ab0a58caea 100755 --- a/test/TEST-15-DROPIN/test-dropin.sh +++ b/test/TEST-15-DROPIN/test-dropin.sh @@ -179,6 +179,16 @@ test_masked_dropins () { ln -sf ../b.service /usr/lib/systemd/system/a.service.wants/b.service check_ko a Wants b.service + # 'a' is masked but has an override config file + echo "*** test a is masked but has an override" + create_services a b + ln -sf /dev/null /etc/systemd/system/a.service + cat >/usr/lib/systemd/system/a.service.d/override.conf <