Skip to contentSkip to conversation

KVM test: vlan subtest - Replace extra_params '-snapshot' with image_snapshot

PATCH New Lucas Meneghel Rodrigues 1 participant 1 message Oct 7, 2010 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 17/19 KVM test: vlan subtest - Replace extra_params '-snapshot' with image_snapshot

From: Amos Kong <[email protected]>

Framework could not totalise default extra_params and extra_params_vm1 in the following condition, it's difficult to realise when parsing config file or calling get_sub_dict*().

extra_params += ' str1'
- case:
extra_params_vm1 += " str2"

---
 client/tests/kvm/tests_base.cfg.sample |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
client/tests/kvm/tests_base.cfg.sample +1 -2
index ceabbf1..e9cb1b4 100644
@@ -467,8 +467,7 @@ variants:
         send_cmd = "nc %s %s < %s"
         nic_mode = tap
         vms += " vm2"
-        extra_params_vm1 += " -snapshot"
-        extra_params_vm2 += " -snapshot"
+        image_snapshot = yes
         kill_vm_vm2 = yes
         kill_vm_gracefully_vm2 = no
 
Signature · 1 line
1.7.1