tests/functional: Convert the hotplug_blk avocado test
PATCH 1/1 tests/functional: Convert the hotplug_blk avocado test
By using the serial console instead of ssh for executing commands in the guest, we can convert this test to the functional framework.
Signed-off-by Thomas Huth <[email protected]>
---
MAINTAINERS | 1 +
tests/functional/meson.build | 1 +
.../test_x86_64_hotplug_blk.py} | 50 ++++++++++++-------
3 files changed, 35 insertions(+), 17 deletions(-)
rename tests/{avocado/hotplug_blk.py => functional/test_x86_64_hotplug_blk.py} (47%)
mode change 100644 => 100755MAINTAINERS +1 -0
@@ -2273,6 +2273,7 @@ F: hw/block/virtio-blk.c F: hw/block/dataplane/* F: include/hw/virtio/virtio-blk-common.h F: tests/qtest/virtio-blk-test.c +F: tests/functional/test_x86_64_hotplug_blk.py T: git https://github.com/stefanha/qemu.git block virtio-ccw
tests/functional/meson.build +1 -0
@@ -283,6 +283,7 @@ tests_x86_64_system_thorough = [ 'multiprocess', 'netdev_ethtool', 'virtio_gpu', + 'x86_64_hotplug_blk', 'x86_64_hotplug_cpu', 'x86_64_kvm_xen', 'x86_64_tuxrun',
tests/functional/test_x86_64_hotplug_blk.py renamed from tests/avocado/hotplug_blk.py +33 -17
87 lines not on this page · raw message
Signature · 1 line
2.48.1
Quoted 11 lines · Thomas Huth
By using the serial console instead of ssh for executing commands in the guest, we can convert this test to the functional framework.
Signed-off-by Thomas Huth <[email protected]>--- MAINTAINERS | 1 + tests/functional/meson.build | 1 + .../test_x86_64_hotplug_blk.py} | 50 ++++++++++++------- 3 files changed, 35 insertions(+), 17 deletions(-) rename tests/{avocado/hotplug_blk.py => functional/test_x86_64_hotplug_blk.py} (47%) mode change 100644 => 100755
Reviewed-by Daniel P. Berrangé <[email protected]>
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|