Skip to content

Commit

Permalink
wip: properly create test
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed Oct 18, 2023
1 parent 6186c8c commit 9d06a07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/vm/s30_storage.t
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ sub _add_fstab($vm) {
}

sub remove_fstab($vm, $dir) {
my $file = "$dir/check_storage";# or die "$!";
my $file = "$dir/".base_domain_name()."check_storage";# or die "$!";
unlink $file or die "$! $file" if -e $file;
copy("/etc/fstab.tst_rvd_backup","/etc/fstab")
}
Expand Down Expand Up @@ -82,7 +82,7 @@ sub test_storage_pools_fail($vm) {

sub _clean_local {
my $dir = "$DIR/".base_domain_name();
my $file = "$dir/check_storage";# or die "$!";
my $file = "$dir/".base_domain_name()."_check_storage";# or die "$!";
unlink $file or die "$! $file" if -e $file;
}

Expand Down

0 comments on commit 9d06a07

Please sign in to comment.