line |
true |
false |
branch |
25
|
6 |
0 |
if $self->{'cfg'}{'mcp_port'}
|
27
|
6 |
0 |
if $self->{'cfg'}{'sync_port'}
|
28
|
6 |
0 |
if $self->{'cfg'}{'prc_nfs_server'}
|
29
|
0 |
6 |
if $self->{'cfg'}{'scenario_id'}
|
31
|
1 |
5 |
if $self->{'cfg'}{'files'}
|
32
|
0 |
6 |
if $self->{'cfg'}{'testplan'}
|
48
|
0 |
2 |
if ($prc->{'config'}{'guest_count'}) { }
|
68
|
1 |
0 |
unless -d "$basedir/etc"
|
69
|
0 |
1 |
unless open my $file, ">", "$basedir/etc/tapper"
|
82
|
0 |
0 |
unless (-d "$basedir/etc/init.d")
|
83
|
0 |
0 |
unless mkdir "$basedir/etc/init.d"
|
86
|
0 |
0 |
if $error
|
87
|
0 |
0 |
if (not $distro =~ /tapper/)
|
90
|
0 |
0 |
unless defined $read and defined $write
|
94
|
0 |
0 |
unless defined $pid
|
97
|
0 |
0 |
if ($pid == 0) { }
|
104
|
0 |
0 |
if ($distro =~ /suse|debian/) { }
|
|
0 |
0 |
elsif ($distro =~ /(redhat)|(fedora)/) { }
|
|
0 |
0 |
elsif ($distro =~ /(ubuntu)/) { }
|
|
0 |
0 |
elsif ($distro =~ /gentoo/) { }
|
115
|
0 |
0 |
if $error
|
121
|
0 |
0 |
if ($?)
|
136
|
2 |
1 |
if $prc->{'config'}{'guest_number'}
|
138
|
0 |
3 |
if ($prc->{'config'}{'guest_count'})
|
142
|
1 |
2 |
if ($prc->{'config'}{'testprogram_list'}) { }
|
|
1 |
1 |
elsif ($prc->{'config'}{'test_program'}) { }
|
169
|
0 |
1 |
unless open my $file, ">", $basedir . "/test.config"
|
186
|
0 |
1 |
if $distro and not $prc->{'skip_startscript'}
|
187
|
0 |
1 |
if $retval
|
190
|
0 |
1 |
if $error
|
194
|
0 |
1 |
if $error
|
196
|
0 |
1 |
if ($prc->{'tapper_package'})
|
199
|
0 |
0 |
if $retval = $pkg_object->install($package)
|
213
|
1 |
0 |
if $file =~ /suse/i
|
214
|
0 |
0 |
if $file =~ /redhat/i
|
215
|
0 |
0 |
if $file =~ /gentoo/i
|
216
|
0 |
0 |
if $file =~ /tapper/i
|
219
|
2 |
1 |
unless open my $fh, "<", "$dir/etc/issue"
|
225
|
1 |
0 |
if $distro
|