summaryrefslogtreecommitdiff
path: root/t/dh_installsystemd
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2017-10-04 18:39:26 +0000
committerNiels Thykier <niels@thykier.net>2017-10-13 18:08:29 +0000
commitaa5ce54f8e60c57cc05fa64ca53ac9fc1dd5dbb9 (patch)
tree502711ebf281dd8976be1407900cd2ccc505b0e6 /t/dh_installsystemd
parent41d255ab83579bf3acae3c1ac48cff3e87dbeeda (diff)
downloaddebhelper-aa5ce54f8e60c57cc05fa64ca53ac9fc1dd5dbb9.tar.gz
dh_installsystemd.t: Remove some unnecessary make_paths
The dh_installsystemd is required to create directories it uses by itself, so there is not point in having the test create them for it. Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 't/dh_installsystemd')
-rwxr-xr-xt/dh_installsystemd/dh_installsystemd.t5
1 files changed, 1 insertions, 4 deletions
diff --git a/t/dh_installsystemd/dh_installsystemd.t b/t/dh_installsystemd/dh_installsystemd.t
index b8a6665b..e50fd993 100755
--- a/t/dh_installsystemd/dh_installsystemd.t
+++ b/t/dh_installsystemd/dh_installsystemd.t
@@ -21,23 +21,20 @@ if (uid_0_test_is_ok()) {
}
each_compat_from_and_above_subtest(11, sub {
- make_path(qw(debian/foo debian/bar debian/baz));
ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd'));
ok(-e "debian/foo/lib/systemd/system/foo.service");
ok(-e "debian/foo.postinst.debhelper");
ok(run_dh_tool('dh_clean'));
-
});
each_compat_up_to_and_incl_subtest(10, sub {
- make_path(qw(debian/foo debian/bar debian/baz));
ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd'));
ok(! -e "debian/foo/lib/systemd/system/foo.service");
ok(! -e "debian/foo.postinst.debhelper");
ok(run_dh_tool('dh_clean'));
- make_path(qw(debian/foo/lib/systemd/system/ debian/bar debian/baz));
+ make_path(qw(debian/foo/lib/systemd/system/));
install_file('debian/foo.service', 'debian/foo/lib/systemd/system/foo.service');
ok(run_dh_tool({ 'needs_root' => 1 }, 'dh_installsystemd'));
ok(! -e "debian/foo.postinst.debhelper");