This patch adds testcases' configuration to virt/subtest.cfg.sample.
Signed-off-by: Yu Mingfei <[email protected]>
---
client/virt/subtests.cfg.sample | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/client/virt/subtests.cfg.sample b/client/virt/subtests.cfg.sample
index 099f28e..6f8d1fa 100644
--- a/client/virt/subtests.cfg.sample
+++ b/client/virt/subtests.cfg.sample
@@ -307,6 +307,36 @@ variants:
libvirtd = "off"
status_error = "yes"
+ - virsh_net_create:
+ type = virsh_net_create
+ variants:
+ - with_valid_options:
+ status_error = "no"
+ variants:
+ - default_file:
+ options_ref = "default"
+ - with_invalid_options:
+ status_error = "yes"
+ variants:
+ - none:
+ options_ref = "none"
+ - no_exist_option:
+ options_ref = "xyz"
+ - additional_file:
+ options_ref = "additional"
+ extra = "xyz"
+ - additional_option:
+ options_ref = "additional"
+ extra = "--xyz"
+ variants:
+ - with_libvirtd_on:
+ addition_status_error = "no"
+ libvirtd = "on"
+ - with_libvirtd_off:
+ only with_valid_options
+ addition_status_error = "yes"
+ libvirtd = "off"
+
- module_probe:
type = module_probe
# You can specify your own module list, though it is not needed
usually.
--
1.7.1
--
Best Regards
Yu Mingfei
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest