Skip to content

Commit

Permalink
wip: fixed redefined sub and removed debug
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed Feb 27, 2024
1 parent 4f03595 commit db97265
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
9 changes: 0 additions & 9 deletions t/device/10_templates.t
Original file line number Diff line number Diff line change
Expand Up @@ -938,24 +938,15 @@ for my $vm_name ( vm_names()) {

test_frontend_list($vm);

warn 1;

test_templates_gone_usb_2($vm);

warn 2;

test_templates_gone_usb($vm);
warn 3;
test_templates_changed_usb($vm);

warn 4;
test_templates_start_nohd($vm);
warn 5;
test_templates_change_filter($vm);

warn 6;
test_templates($vm);
warn 7;
test_templates_change_devices($vm);

}
Expand Down
9 changes: 0 additions & 9 deletions t/mojo/70_volatile.t
Original file line number Diff line number Diff line change
Expand Up @@ -292,15 +292,6 @@ sub _search_domain_by_name($name) {
return $id;
}

sub _too_loaded($msg) {
open my $in,"<","/proc/loadavg" or die $!;
my ($load) = <$in>;
close $in;
chomp $load;
$load =~ s/\s.*//;
return $load>$MAX_LOAD;
}

sub _too_loaded() {
open my $in,"<","/proc/loadavg" or die $!;
my ($load) = <$in>;
Expand Down

0 comments on commit db97265

Please sign in to comment.