summaryrefslogtreecommitdiff
path: root/t/dh_installsystemd
diff options
context:
space:
mode:
Diffstat (limited to 't/dh_installsystemd')
-rwxr-xr-xt/dh_installsystemd/dh_installsystemd.t10
1 files changed, 5 insertions, 5 deletions
diff --git a/t/dh_installsystemd/dh_installsystemd.t b/t/dh_installsystemd/dh_installsystemd.t
index cb830978..cc37bf2e 100755
--- a/t/dh_installsystemd/dh_installsystemd.t
+++ b/t/dh_installsystemd/dh_installsystemd.t
@@ -91,7 +91,7 @@ our @TEST_DH_EXTRA_TEMPLATE_FILES = (qw(
each_compat_subtest {
ok(run_dh_tool( 'dh_installsystemd'));
- ok(-e "debian/foo/lib/systemd/system/foo.service");
+ ok(-e 'debian/foo/lib/systemd/system/foo.service');
ok(find_script('foo', 'postinst'));
unit_is_enabled('foo', 'foo', 1);
unit_is_started('foo', 'foo', 1);
@@ -102,7 +102,7 @@ each_compat_subtest {
make_path('debian/foo/lib/systemd/system/');
install_file('debian/foo2.service', 'debian/foo/lib/systemd/system/foo2.service');
ok(run_dh_tool('dh_installsystemd'));
- ok(-e "debian/foo/lib/systemd/system/foo.service");
+ ok(-e 'debian/foo/lib/systemd/system/foo.service');
ok(find_script('foo', 'postinst'));
unit_is_enabled('foo', 'foo', 1);
unit_is_started('foo', 'foo', 1);
@@ -113,7 +113,7 @@ each_compat_subtest {
make_path('debian/foo/lib/systemd/system/');
install_file('debian/foo2.service', 'debian/foo/lib/systemd/system/foo2.service');
ok(run_dh_tool('dh_installsystemd', '--no-start'));
- ok(-e "debian/foo/lib/systemd/system/foo.service");
+ ok(-e 'debian/foo/lib/systemd/system/foo.service');
ok(find_script('foo', 'postinst'));
unit_is_enabled('foo', 'foo', 1);
unit_is_started('foo', 'foo', 0, 1); # present units are stopped on remove even if no start
@@ -125,7 +125,7 @@ each_compat_subtest {
install_file('debian/foo2.service', 'debian/foo/lib/systemd/system/foo2.service');
ok(run_dh_tool('dh_installsystemd', '-p', 'foo', '--no-start', 'foo.service'));
ok(run_dh_tool('dh_installsystemd', '-p', 'foo', 'foo2.service'));
- ok(-e "debian/foo/lib/systemd/system/foo.service");
+ ok(-e 'debian/foo/lib/systemd/system/foo.service');
ok(find_script('foo', 'postinst'));
unit_is_enabled('foo', 'foo', 1);
unit_is_started('foo', 'foo', 0, 1);
@@ -137,7 +137,7 @@ each_compat_subtest {
install_file('debian/foo2.service', 'debian/foo/lib/systemd/system/foo2.service');
ok(run_dh_tool('dh_installsystemd', '-p', 'foo', '--no-enable', 'foo.service'));
ok(run_dh_tool('dh_installsystemd', '-p', 'foo', 'foo2.service'));
- ok(-e "debian/foo/lib/systemd/system/foo.service");
+ ok(-e 'debian/foo/lib/systemd/system/foo.service');
ok(find_script('foo', 'postinst'));
unit_is_enabled('foo', 'foo', 0, 1); # Disabled units are still masked on removal
unit_is_started('foo', 'foo', 1, 1);