summaryrefslogtreecommitdiff
path: root/t/928935.t
diff options
context:
space:
mode:
Diffstat (limited to 't/928935.t')
-rw-r--r--t/928935.t7
1 files changed, 5 insertions, 2 deletions
diff --git a/t/928935.t b/t/928935.t
index 52774ed..5d2fea1 100644
--- a/t/928935.t
+++ b/t/928935.t
@@ -1,10 +1,13 @@
1#!/usr/bin/perl 1#!/usr/bin/perl
2use strict; 2use strict;
3use warnings; 3use warnings;
4use Test::More tests => 2; 4use Test::More tests => 4;
5use T; 5use T;
6 6
7system_ok('dh_runit', 'debian/test.runscript', 'name=test,noreplace'); 7system_ok('dh_runit', 'debian/test.runscript', 'name=test,noreplace,logscript');
8 8
9my $noreplace = 'debian/dh-runit-test/usr/share/runit/meta/test/noreplace'; 9my $noreplace = 'debian/dh-runit-test/usr/share/runit/meta/test/noreplace';
10ok(-f $noreplace, 'noreplace file correctly created'); 10ok(-f $noreplace, 'noreplace file correctly created');
11my $logscript = 'debian/dh-runit-test/etc/sv/test/log/run';
12ok(-f $logscript, 'logscript correctly created');
13ok(-x $logscript, 'logscript is executable');