diff --git a/t/vm/40_volumes.t b/t/vm/40_volumes.t index e7352314d..76561f130 100644 --- a/t/vm/40_volumes.t +++ b/t/vm/40_volumes.t @@ -380,6 +380,11 @@ sub test_domain_swap { sub test_search($vm_name) { my $vm = rvd_back->search_vm($vm_name); + my $file_old = $vm->search_volume_path("file.iso"); + unlink $file_old if -e $file_old; + + $vm->default_storage_pool_name('default'); + my $file_out = $vm->dir_img."/file.iso"; open my $out,">",$file_out or do {