From 67348e791dd0c546965e48cc091f1e8245b9260d Mon Sep 17 00:00:00 2001 From: Filipe Brandenburger Date: Thu, 1 Mar 2018 21:07:27 -0800 Subject: [PATCH] test: masked unit with drop-ins --- test/TEST-15-DROPIN/test-dropin.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/TEST-15-DROPIN/test-dropin.sh b/test/TEST-15-DROPIN/test-dropin.sh index 9d8af99ac48..ab0a58caeac 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 <