Commit 07cc81c5 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

testing missing LXC

parent 47de7605
......@@ -168,14 +168,14 @@ SKIP: {
diag("SKIPPING LXC tests: $msg");
skip $msg,10;
} else {
$Ravada::VM::LXC::CMD_LXC_LS = '';
# twice to ignore warnings
my $lxc_ls = $Ravada::VM::LXC::CMD_LXC_LS;
$Ravada::VM::LXC::CMD_LXC_LS = '';
diag("Testing missing LXC");
my $ravada2 = Ravada->new( connector => $test->connector);
my $vm2 = $ravada2->search_vm('lxc');
ok(!$vm2,"No LXC virtual manager should be found withoud LXC_LS defined");
$Ravada::VM::LXC::CMD_LXC_LS = $lxc_ls;
ok($vm,"I can't find a LXC virtual manager from ravada");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment