From: whuang <[email protected]>
Thanks Fergus Yu and Yu Mingfei for reviewing
Introduce virsh change-media CDROM test:
1) Positive testing
1.1) Running Domain eject/insert/update action with options
current/live/force/config
1.2) Shutoff Domain eject/insert/update action with options
current/force/config
2) Negative testing
2.1) Shutoff Domain eject/insert/update add options
2.2) domain with invalid options.
2.3) When libvirtd stop test change-media
2.4) When Domain is running add --live option
whuang (3):
add change-media testing
add change-media testing config file
Add change-media and attach-disk functions in virsh module
libvirt/tests/cfg/virsh_change_media.cfg | 126 ++++++++++++++++++++++
libvirt/tests/virsh_change_media.py | 176 +++++++++++++++++++++++++++++++
virttest/virsh.py | 35 ++++++
3 files changed, 337 insertions(+)
create mode 100755 libvirt/tests/cfg/virsh_change_media.cfg
create mode 100755 libvirt/tests/virsh_change_media.py
--
1.8.1.4
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel