Acmeman/Apache/Layout/suse.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran 0.0% 0 / 2 Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 30 CC 2 SCAR 12.0
CC
2
Cov
0%
new
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.3
1 package App::Acmeman::Apache::Layout::suse;
2 use strict;
3 use warnings;
4 use Carp;
5 use parent 'App::Acmeman::Apache::Layout';
6  
7 our $PRIORITY = 40;
8  
9 sub new {
10 my $class = shift;
11 my $ap = shift;
12  
13 if ($ap->server_config eq '/etc/apache2/httpd.conf'
14 && ! -f '/etc/apache2/apache2.conf') {
15 return $class->SUPER::new($ap,
16 incdir => '/etc/apache2/conf.d',
17 restart_command => '/usr/sbin/service httpd restart'
18 );
19 }
20 }
21  
22 1;