Virsh domname can get vm's name by its running-id or uuid.
These patchs are added to test it.

Yu Mingfei (3):
   virt/libvirt_vm.py: add rename function to VM class
   virt/subtests.cfg.sample: add testcases to config file
   client/tests/libvirt/tests/virsh_domname.py: add test file for virsh domname

  client/tests/libvirt/tests/virsh_domname.py |  122 +++++++++++++++++++++++++++
  client/virt/libvirt_vm.py                   |   60 +++++++++++++
  client/virt/subtests.cfg.sample             |   56 ++++++++++++
  3 files changed, 238 insertions(+), 0 deletions(-)
  create mode 100644 client/tests/libvirt/tests/virsh_domname.py


-- 
Best Regards
Yu Mingfei

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to