Branch Coverage

blib/lib/Metabrik/Remote/Winexe.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
75 0 0 unless $self->SUPER::install
82 0 0 unless my $cw = 'Metabrik::Client::Www'->new_from_brik_init($self)
83 0 0 unless my $files = $cw->mirror($url, "wmi-$version.tar.bz2", $datadir)
85 0 0 if (@$files > 0)
87 0 0 unless $self->SUPER::execute($cmd)
98 0 0 if (defined $self->shell) { }
99 0 0 unless $self->shell->run_cd("$datadir/wmi-$version/Samba/source")
102 0 0 unless chdir "$datadir/wmi-$version/Samba/source"
106 0 0 unless $self->system('./autogen.sh')
107 0 0 unless $self->system('./configure')
108 0 0 unless $self->system('make "CPP=gcc -E -ffreestanding"')
109 0 0 unless $self->system('make proto bin/wmic')
110 0 0 unless $self->system('make proto bin/winexe')
112 0 0 if (defined $self->shell) { }
116 0 0 unless chdir $cwd
119 0 0 unless my $sf = 'Metabrik::System::File'->new_from_brik_init($self)
120 0 0 unless $sf->copy("$datadir/wmi-$version/Samba/source/bin/wmic", '/usr/local/bin/')
121 0 0 unless $sf->copy("$datadir/wmi-$version/Samba/source/bin/winexe", '/usr/local/bin/')
153 0 0 unless $self->brik_help_run_undef_arg('execute', $command)
154 0 0 unless $self->brik_help_run_undef_arg('execute', $host)
155 0 0 unless $self->brik_help_run_undef_arg('execute', $user)
156 0 0 unless $self->brik_help_run_undef_arg('execute', $password)
161 0 0 if (-f '/usr/local/bin/winexe11')
181 0 0 unless $self->brik_help_run_undef_arg('execute_in_background', $command)
182 0 0 unless $self->brik_help_run_undef_arg('execute_in_background', $host)
183 0 0 unless $self->brik_help_run_undef_arg('execute_in_background', $user)
184 0 0 unless $self->brik_help_run_undef_arg('execute_in_background', $password)