Module: tools
Branch: master
Commit: 27a033d5374d9e97b177ae94ae51ce4dec4d6a23
URL: https://source.winehq.org/git/tools.git/?a=commit;h=27a033d5374d9e97b177ae9…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Wed Dec 2 19:03:20 2020 +0100
testbot: Tweak the VMs default status and snapshot name.
These are only relevant when creating a new VM so provide more
appropriate defaults. In particular new VMs are normally off and the
TestBot deals with powering them up and setting up the live snapshot.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/lib/WineTestBot/VMs.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testbot/lib/WineTestBot/VMs.pm b/testbot/lib/WineTestBot/VMs.pm
index 6dd1ff2..53f4394 100644
--- a/testbot/lib/WineTestBot/VMs.pm
+++ b/testbot/lib/WineTestBot/VMs.pm
@@ -170,8 +170,8 @@ sub InitializeNew($$)
{
my ($self, $Collection) = @_;
- $self->Status("idle");
- $self->IdleSnapshot("wtb");
+ $self->Status("off");
+ $self->IdleSnapshot("base-live");
$self->SUPER::InitializeNew($Collection);
}