diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2013-09-19 02:25:03 +0000 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2013-09-19 02:25:14 +0000 |
commit | 2b6898672734111c046208b687c45692a2a6eadd (patch) | |
tree | d621f2f5370ffb36831b3f0aa9c70f26a89df2fe | |
parent | 66628846630a07f85c21965641830fc8c4ed6f75 (diff) | |
download | init-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.t | 13 |
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. ┃ # ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ |