summaryrefslogtreecommitdiff
path: root/t/928935.t
blob: 5d2fea1ed5abd973c71f58d7719ec1128daa4617 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/perl
use strict;
use warnings;
use Test::More tests => 4;
use T;

system_ok('dh_runit', 'debian/test.runscript', 'name=test,noreplace,logscript');

my $noreplace = 'debian/dh-runit-test/usr/share/runit/meta/test/noreplace';
ok(-f $noreplace, 'noreplace file correctly created');
my $logscript = 'debian/dh-runit-test/etc/sv/test/log/run';
ok(-f $logscript, 'logscript correctly created');
ok(-x $logscript, 'logscript is executable');