summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/Test/DH.pm2
-rwxr-xr-xt/dh_installman/01-basics.t4
-rwxr-xr-xt/dh_installsystemd/dh_installsystemd.t2
-rwxr-xr-xt/dh_link/03-894229.t2
-rwxr-xr-xt/dh_usrlocal/01-basic.t2
5 files changed, 6 insertions, 6 deletions
diff --git a/t/Test/DH.pm b/t/Test/DH.pm
index 7fa30bfd..9658d90a 100644
--- a/t/Test/DH.pm
+++ b/t/Test/DH.pm
@@ -109,7 +109,7 @@ sub _prepare_test_root {
for my $file (@::TEST_DH_EXTRA_TEMPLATE_FILES) {
if (index($file, '/') > -1) {
my $install_dir = dirname($file);
- install_dir($install_dir);
+ mkdirs($install_dir);
}
install_file("${actual_dir}/${file}", "${dir}/${file}");
}
diff --git a/t/dh_installman/01-basics.t b/t/dh_installman/01-basics.t
index 8aaa0a04..05a15ecf 100755
--- a/t/dh_installman/01-basics.t
+++ b/t/dh_installman/01-basics.t
@@ -75,8 +75,8 @@ each_compat_subtest {
'generated-manpages/manpage-perl.3perl');
doit('gzip', '-9n', 'generated-manpages/manpage-compressed.1');
}
- install_dir('debian/debhelper/usr/share/man/man1');
- install_dir('debian/debhelper/usr/share/man/man3');
+ mkdirs('debian/debhelper/usr/share/man/man1');
+ mkdirs('debian/debhelper/usr/share/man/man3');
install_file('generated-manpages/manpage-uncompressed.1', 'debian/debhelper/usr/share/man/man1/manpage-uncompressed.1');
install_file('generated-manpages/manpage-compressed.1.gz', 'debian/debhelper/usr/share/man/man1/manpage-compressed.1.gz');
install_file('generated-manpages/manpage-perl.3perl', 'debian/debhelper/usr/share/man/man3/manpage-perl.3perl');
diff --git a/t/dh_installsystemd/dh_installsystemd.t b/t/dh_installsystemd/dh_installsystemd.t
index 99b6ea82..eb3a5305 100755
--- a/t/dh_installsystemd/dh_installsystemd.t
+++ b/t/dh_installsystemd/dh_installsystemd.t
@@ -14,7 +14,7 @@ sub write_file {
my ($path, $content) = @_;
my $dir = dirname($path);
- install_dir($dir);
+ mkdirs($dir);
open(my $fd, '>>', $path) or error("open($path) failed: $!");
print {$fd} $content . '\n';
diff --git a/t/dh_link/03-894229.t b/t/dh_link/03-894229.t
index 10542f41..d42a3928 100755
--- a/t/dh_link/03-894229.t
+++ b/t/dh_link/03-894229.t
@@ -40,7 +40,7 @@ each_compat_subtest {
remove_tree('debian/debhelper/a/b/c');
- install_dir('debian/debhelper/a/b/c');
+ mkdirs('debian/debhelper/a/b/c');
test_invalid('../../wow', 'a');
# This is a can be made valid but at the moment we do not support
diff --git a/t/dh_usrlocal/01-basic.t b/t/dh_usrlocal/01-basic.t
index 2cd3f842..9b055161 100755
--- a/t/dh_usrlocal/01-basic.t
+++ b/t/dh_usrlocal/01-basic.t
@@ -43,7 +43,7 @@ sub perform_test {
rm_files(@scripts);
remove_tree('debian/debhelper');
- install_dir(map { "debian/debhelper/$_" } @{$install_dirs});
+ mkdirs(map { "debian/debhelper/$_" } @{$install_dirs});
ok(run_dh_tool('dh_usrlocal'));