From: whuang <[email protected]>
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 update-device and attach-disk functions in virsh
module
virt-libvirt: add test for change-media
virt-libvirt: Add test config file for change-media
libvirt/tests/cfg/virsh_change_media.cfg | 177 +++++++++++++++++++++++++++++++
libvirt/tests/virsh_change_media.py | 169 +++++++++++++++++++++++++++++
virttest/virsh.py | 55 ++++++++++
3 files changed, 401 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