summaryrefslogtreecommitdiff
path: root/t/dh_installsystemd
diff options
context:
space:
mode:
authorDaniele Nicolodi <daniele@grinta.net>2018-06-14 14:28:26 -0600
committerDaniele Nicolodi <daniele@grinta.net>2018-06-20 23:29:11 -0600
commit51f0a5d45d50305368effb08faaa37eadfb5595c (patch)
tree65916632012f96f2255ea48c97a9b59adf1c0015 /t/dh_installsystemd
parentc0c45fbb0182af58df7b4c289d7e3a2e2d385309 (diff)
downloaddebhelper-51f0a5d45d50305368effb08faaa37eadfb5595c.tar.gz
t/dh_installsystemd: Use consistent string quoting
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);