On 06/28/2012 05:25 AM, guyanhua wrote: > > Signed-off-by: Gu Yanhua <[email protected]> > --- > client/virt/subtests.cfg.sample | 25 +++++++++++++++++++++++++ > 1 files changed, 25 insertions(+), 0 deletions(-) > > diff --git a/client/virt/subtests.cfg.sample > b/client/virt/subtests.cfg.sample > index ebfbff5..e42983e 100644 > --- a/client/virt/subtests.cfg.sample > +++ b/client/virt/subtests.cfg.sample > @@ -280,6 +280,31 @@ variants: > status_error = "yes" > libvirtd = "off" > > + > + - virsh_freecell: > + type = virsh_freecell > + vms = '' > + libvirtd = "on" > + variants: > + - expected_options: > + status_error = "no" > + variants: > + - no_option: > + virsh_freecell_options = "" > + - expected_option_all: > + virsh_freecell_options = "--all" > + - expected_option_0: > + virsh_freecell_options = 0 > + - error_test: > + status_error = "yes" > + variants: > + - unexpected_option_xyz: > + virsh_freecell_options = "xyz" > + - with_libvirtd_stop: > + libvirtd = "off" > + virsh_freecell_options = "" > + > + > - module_probe: > type = module_probe > # You can specify your own module list, though it is not needed usually. > -- > 1.7.1 > >
Something very similar was also committed into 'next' branch. I added an invalid numeric <cellno> 'virsh freecell 123456' test also. Please check out 'next' branch and send rebased patches if needed. Thanks. -- Chris Evich, RHCA, RHCE, RHCDS, RHCSS Quality Assurance Engineer e-mail: cevich + `@' + redhat.com o: 1-888-RED-HAT1 x44214 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
