summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@debian.org>2019-03-20 12:34:16 +0000
committerDmitry Bogatov <KAction@debian.org>2019-03-20 12:34:16 +0000
commitce920b176349198414396a23698345c41e2565ef (patch)
tree29f6ba3fb7386aabd5a1c2d9f086e2644704bdaa /t
parent59d50388e3be8229bfb3388d9cfcfe50aebb6b58 (diff)
Make permissions of supervise directories 0700, as created by sv(8). (Closes: #924903)
Diffstat (limited to 't')
-rw-r--r--t/924903.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/924903.t b/t/924903.t
index 92ca4b0..fa70834 100644
--- a/t/924903.t
+++ b/t/924903.t
@@ -5,6 +5,11 @@ use Test::More tests => 3;
5use File::Path qw(remove_tree); 5use File::Path qw(remove_tree);
6use File::Copy::Recursive qw(dircopy); 6use File::Copy::Recursive qw(dircopy);
7use File::stat; 7use File::stat;
8use Cwd;
9
10my $root = Cwd::cwd;
11$ENV{PATH} = "$root:$ENV{PATH}";
12$ENV{DH_AUTOSCRIPTDIR} = $root;
8 13
9sub prepare_source_package { 14sub prepare_source_package {
10 die '$0 does not match expected format' 15 die '$0 does not match expected format'