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