diff options
author | Dmitry Bogatov <KAction@debian.org> | 2019-03-20 12:34:16 +0000 |
---|---|---|
committer | Dmitry Bogatov <KAction@debian.org> | 2019-03-20 12:34:16 +0000 |
commit | ce920b176349198414396a23698345c41e2565ef (patch) | |
tree | 29f6ba3fb7386aabd5a1c2d9f086e2644704bdaa /t | |
parent | 59d50388e3be8229bfb3388d9cfcfe50aebb6b58 (diff) |
Make permissions of supervise directories 0700, as created by sv(8). (Closes: #924903)
Diffstat (limited to 't')
-rw-r--r-- | t/924903.t | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -5,6 +5,11 @@ use Test::More tests => 3; | |||
5 | use File::Path qw(remove_tree); | 5 | use File::Path qw(remove_tree); |
6 | use File::Copy::Recursive qw(dircopy); | 6 | use File::Copy::Recursive qw(dircopy); |
7 | use File::stat; | 7 | use File::stat; |
8 | use Cwd; | ||
9 | |||
10 | my $root = Cwd::cwd; | ||
11 | $ENV{PATH} = "$root:$ENV{PATH}"; | ||
12 | $ENV{DH_AUTOSCRIPTDIR} = $root; | ||
8 | 13 | ||
9 | sub prepare_source_package { | 14 | sub prepare_source_package { |
10 | die '$0 does not match expected format' | 15 | die '$0 does not match expected format' |