summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-09-30 20:51:43 +0200
committerLuca Boccassi <bluca@debian.org>2022-10-01 13:33:35 +0000
commit040aefa918834a4ac97af80661e061f60dfb8b83 (patch)
treeb00462d123bb895b586a54f9bb484449c108beac
parentd1d33aace68af737df0ade724396ae464dab1e35 (diff)
dh_installsystemduser: Update test to no longer check for the dropped mask code
Gbp-Dch: Ignore
-rwxr-xr-xt/dh_installsystemduser/dh_installsystemduser.t4
1 files changed, 0 insertions, 4 deletions
diff --git a/t/dh_installsystemduser/dh_installsystemduser.t b/t/dh_installsystemduser/dh_installsystemduser.t
index a1ec4a30..c3f7f842 100755
--- a/t/dh_installsystemduser/dh_installsystemduser.t
+++ b/t/dh_installsystemduser/dh_installsystemduser.t
@@ -41,10 +41,6 @@ sub _unit_check_user_enabled {
# enabled, but we do not want to include that in our count.
$matches = grep { m{^\t\tif deb-systemd-helper( --\w+)* --user was-enabled.*'\Q$unit'} } @postinst;
is($matches, $enabled, "$unit $verb enabled");
-
- my @postrm = read_script($package, 'postrm');
- $matches = grep { m{deb-systemd-helper( --\w+)* --user mask.*'\Q$unit'} } @postrm;
- is($matches, $enabled, "$unit $verb masked");
}
sub _unit_check_user_started {