[debhelper-devel] [debhelper] 05/21: dh_installsystemd.t: Remove some unnecessary make_paths

Niels Thykier nthykier at moszumanska.debian.org
Fri Oct 13 18:27:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit aa5ce54f8e60c57cc05fa64ca53ac9fc1dd5dbb9
Author: Niels Thykier <niels at thykier.net>
Date:   Wed Oct 4 18:39:26 2017 +0000

    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 at thykier.net>
---
 t/dh_installsystemd/dh_installsystemd.t | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/t/dh_installsystemd/dh_installsystemd.t b/t/dh_installsystemd/dh_installsystemd.t
index b8a6665..e50fd99 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");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list