[tools] testbot: Tweak the VMs default status and snapshot name.

Francois Gouget fgouget at codeweavers.com
Wed Dec 2 12:03:20 CST 2020


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 at codeweavers.com>
---
 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 6dd1ff2bb1..53f43948bc 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);
 }
-- 
2.20.1



More information about the wine-devel mailing list