summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2013-09-19 02:25:03 +0000
committerMichael Stapelberg <michael@stapelberg.de>2013-09-19 02:25:14 +0000
commit2b6898672734111c046208b687c45692a2a6eadd (patch)
treed621f2f5370ffb36831b3f0aa9c70f26a89df2fe
parent66628846630a07f85c21965641830fc8c4ed6f75 (diff)
downloadinit-system-helpers-2b6898672734111c046208b687c45692a2a6eadd.tar.gz
delete obsolete test
This particular test was written under the (wrong) assumption that masking a service is pointing its install (!) symlink to /dev/null, while in reality it’s a different symlink.
-rw-r--r--t/001-deb-systemd-helper.t13
1 files changed, 0 insertions, 13 deletions
diff --git a/t/001-deb-systemd-helper.t b/t/001-deb-systemd-helper.t
index 3d9c3b3..5bb9ecd 100644
--- a/t/001-deb-systemd-helper.t
+++ b/t/001-deb-systemd-helper.t
@@ -119,19 +119,6 @@ $retval = system("DPKG_MAINTSCRIPT_PACKAGE=test $dsh enable $random_unit");
isnt_enabled($random_unit);
# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
-# ┃ Verify masking the service and running “enable” again does not ┃
-# ┃ re-create the symlinks. ┃
-# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
-
-symlink('/dev/null', $symlink_path);
-is(readlink($symlink_path), '/dev/null', 'service masked');
-is_debian_installed($random_unit);
-
-$retval = system("DPKG_MAINTSCRIPT_PACKAGE=test $dsh enable $random_unit");
-
-is(readlink($symlink_path), '/dev/null', 'service still masked');
-
-# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
# ┃ Verify “disable” when purging deletes the statefile. ┃
# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛