Skip to content

Commit

Permalink
removed debug
Browse files Browse the repository at this point in the history
issue #2129
  • Loading branch information
frankiejol committed Jan 21, 2025
1 parent 6caa027 commit a8bb8af
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions t/request/15_download.t
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ sub test_download($vm, $iso0, $test=0) {
eval { $iso = $vm->_search_iso($iso0->{id}) };
is($@,'',$iso0->{name});
ok($iso) or return;
diag(Dumper([$iso->{url}, $iso->{file_re}]));
# unlink($iso->{device}) or die "$! $iso->{device}"
# if $iso->{device} && -e $iso->{device};
#diag(Dumper([$iso->{url}, $iso->{file_re}]));
my $req1 = Ravada::Request->download(
id_iso => $iso->{id}
, id_vm => $vm->id
Expand Down Expand Up @@ -91,12 +89,11 @@ for my $vm_name ('KVM') {
#
# Request for Debian Streth ISO
for my $iso (search_id_isos) {
diag( "*** ".$iso->{name});
next unless $iso->{name} =~ /Ubuntu.*24/i
|| $iso->{name} =~ /Mint.*22/i
|| $iso->{name} =~ /Mate.* 2/i
|| $iso->{name} =~ /De.*an.*12/i;
next unless $iso->{name} =~ /Dev.*an.*12/i;
# next unless $iso->{name} =~ /Ubuntu.*24/i
# || $iso->{name} =~ /Mint.*22/i
# || $iso->{name} =~ /Mate.* 2/i
# || $iso->{name} =~ /De.*an.*12/i;
#next unless $iso->{name} =~ /Dev.*an.*12/i;
test_download($vm, $iso,1);
}
}
Expand Down

0 comments on commit a8bb8af

Please sign in to comment.