summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2022-06-20 18:03:55 -0400
committerCole Robinson <crobinso@redhat.com>2022-06-20 18:03:55 -0400
commit137cfdc3471387256eef5a9065cc26cfdf91736b (patch)
treeb92a4248536975519229fb268f30134a7ead27c2 /tests
parentd0e621364385a68ddf9b4c306d40b4489785ce01 (diff)
downloadvirt-manager-137cfdc3471387256eef5a9065cc26cfdf91736b.tar.gz
cli: Add --serial source.channel
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/data/cli/compare/virt-install-many-devices.xml3
-rw-r--r--tests/test_cli.py3
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/data/cli/compare/virt-install-many-devices.xml b/tests/data/cli/compare/virt-install-many-devices.xml
index 7a3ac7c3..7edccf21 100644
--- a/tests/data/cli/compare/virt-install-many-devices.xml
+++ b/tests/data/cli/compare/virt-install-many-devices.xml
@@ -613,6 +613,9 @@
<source master="/dev/foo1" slave="/dev/foo2"/>
<alias name="testalias7"/>
</serial>
+ <serial type="spiceport">
+ <source channel="org.qemu.console.serial.0"/>
+ </serial>
<parallel type="udp">
<source mode="bind" host="127.0.0.1" service="1234"/>
<source mode="connect" host="0.0.0.0" service="1234"/>
diff --git a/tests/test_cli.py b/tests/test_cli.py
index 0ad72e6b..42de3478 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -663,6 +663,7 @@ source.reservations.managed=no,source.reservations.source.type=unix,source.reser
--serial char_type=tcp,host=:2222,mode=bind,protocol=telnet,log.file=/tmp/foo.log,log.append=yes,,target.model.name=pci-serial
--serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2,alias.name=testalias7
+--serial spiceport,source.channel=org.qemu.console.serial.0
--parallel type=udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234
@@ -741,7 +742,7 @@ source.reservations.managed=no,source.reservations.source.type=unix,source.reser
--rng /dev/random
---rng device=/dev/urandom,backend.protocol.type=,backend.log.file=,backend.log.append=,backend.source.clipboard.copypaste=,backend.source.mouse.mode=
+--rng device=/dev/urandom,backend.protocol.type=,backend.log.file=,backend.log.append=,backend.source.clipboard.copypaste=,backend.source.mouse.mode=,backend.source.channel=
--rng type=egd,backend.type=nmdm,backend.source.master=/dev/foo1,backend.source.slave=/dev/foo2
--rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=udp,backend_mode=bind,backend_connect_host=foo,backend_connect_service=708,rate.bytes=1234,rate.period=1000,model=virtio