This adds configuration for "virsh nodeinfo".
Signed-off-by: Gu Yanhua <[email protected]>
---
client/virt/subtests.cfg.sample | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
mode change 100644 => 100755 client/virt/subtests.cfg.sample
diff --git a/client/virt/subtests.cfg.sample b/client/virt/subtests.cfg.sample
old mode 100644
new mode 100755
index 5b9af12..08ebc2b
--- a/client/virt/subtests.cfg.sample
+++ b/client/virt/subtests.cfg.sample
@@ -261,6 +261,23 @@ variants:
status_error = "yes"
libvirtd = "off"
+ - virsh_nodeinfo:
+ type = virsh_nodeinfo
+ vms = ''
+ variants:
+ - no_option:
+ virsh_node_options = ""
+ status_error = "no"
+ libvirtd = "on"
+ - unexpect_option:
+ virsh_node_options = "xyz"
+ status_error = "yes"
+ libvirtd = "on"
+ - with_libvirtd_stop:
+ virsh_node_options = ""
+ status_error = "yes"
+ libvirtd = "off"
+
- module_probe:
type = module_probe
--
1.7.1
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest