Currently, qmp_basic tests needs to change the monitors/
monitor_type/vcpu_thread_pattern in base.cfg because it has been
set for hmp as default.
To improve this, add the three vars in the subtests.cfg.sample

Signed-off-by: Mike Qiu <[email protected]>
---
 shared/cfg/subtests.cfg.sample |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/shared/cfg/subtests.cfg.sample b/shared/cfg/subtests.cfg.sample
index 75ad8f1..da00d12 100644
--- a/shared/cfg/subtests.cfg.sample
+++ b/shared/cfg/subtests.cfg.sample
@@ -1774,6 +1774,9 @@ variants:
 
     - qmp_basic: install setup image_copy unattended_install.cdrom
         type = qmp_basic
+        monitors = qmp1
+        monitor_type = qmp
+        vcpu_thread_pattern = "u'thread_id':\s+(\d+)"
 
     - qmp_basic_rhel6: install setup image_copy unattended_install.cdrom
         type = qmp_basic_rhel6
-- 
1.7.7.6

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to