Skip to content

Commit

Permalink
wip: test volume path
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed Sep 12, 2023
1 parent a75322e commit d9b6c0e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions t/vm/40_volumes.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use Carp qw(confess croak);
use Data::Dumper;
use File::Copy;
use Test::More;
use YAML qw(DumpFile);

use v5.22; use feature qw(signatures);
no warnings "experimental::signatures";
Expand Down Expand Up @@ -300,9 +301,7 @@ sub test_add_volume_path {

my $file_path = $vm->dir_img."/mock.img";

open my $out,'>',$file_path or die "$! $file_path";
print $out "hi\n";
close $out;
DumpFile($file_path, {capacity => 100, data => 'hi'});

$domain->add_volume(file => $file_path);

Expand Down

0 comments on commit d9b6c0e

Please sign in to comment.