Skip to content

Commit

Permalink
Shutdown only if up
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed May 31, 2017
1 parent da21bcc commit b3e2f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/kvm/p10_password.t
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ sub test_domain_no_password {
is($@,'');
is($password_f , $password,"Expecting password : '".($password or '')."'"
." got : '".($password_f or '')."'");
$domain->shutdown_now($USER);
$domain->shutdown_now($USER) if $domain->is_active();
}

sub test_domain_password2 {
Expand Down

0 comments on commit b3e2f80

Please sign in to comment.