Skip to content

Commit

Permalink
wip: proper test refresh open ports
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed May 17, 2023
1 parent 388529d commit 0930c2f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion t/user/20_grants.t
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,13 @@ sub test_start_many_upgrade{
}

sub test_view_all($vm) {
my $domain = create_domain($vm);
my $domain;
if ($vm->type eq 'KVM') {
my $base = import_domain($vm);
$domain = $base->clone(name => new_domain_name, user => user_admin);
} else {
$domain = create_domain($vm);
}
$domain->expose(22);
my $user = create_user();
user_admin->grant($user,'view_all');
Expand Down

0 comments on commit 0930c2f

Please sign in to comment.