summaryrefslogtreecommitdiff
path: root/t/924903.t
diff options
context:
space:
mode:
Diffstat (limited to 't/924903.t')
-rw-r--r--t/924903.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/924903.t b/t/924903.t
index 710ea39..b969314 100644
--- a/t/924903.t
+++ b/t/924903.t
@@ -1,7 +1,7 @@
1#!/usr/bin/perl 1#!/usr/bin/perl
2use strict; 2use strict;
3use warnings; 3use warnings;
4use Test::More tests => 3; 4use Test::More tests => 4;
5use File::stat; 5use File::stat;
6use T; 6use T;
7 7
@@ -11,3 +11,6 @@ ok(-d $path, 'supervise directory correctly created');
11my $info = stat($path); 11my $info = stat($path);
12my $mode = sprintf("%o", $info->mode & 0777); 12my $mode = sprintf("%o", $info->mode & 0777);
13is($mode, '700', 'supervise directory have conservative permissions'); 13is($mode, '700', 'supervise directory have conservative permissions');
14
15my $noreplace = 'debian/dh-runit-test/var/lib/runit/noreplace/test';
16ok(!-f $noreplace, 'noreplace file is correctly absent');