summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2022-06-20 18:06:40 -0400
committerCole Robinson <crobinso@redhat.com>2022-06-20 18:06:40 -0400
commit7ae10b5566ac4d8c7afd94499a9733ed42cf3d07 (patch)
treee1309539ca4644c5c2f0923c860c4c241a07afe3 /tests
parent137cfdc3471387256eef5a9065cc26cfdf91736b (diff)
downloadvirt-manager-7ae10b5566ac4d8c7afd94499a9733ed42cf3d07.tar.gz
cli: Add --serial source.tls=on|off
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/data/cli/compare/virt-install-many-devices.xml2
-rw-r--r--tests/test_cli.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/data/cli/compare/virt-install-many-devices.xml b/tests/data/cli/compare/virt-install-many-devices.xml
index 7edccf21..a884547b 100644
--- a/tests/data/cli/compare/virt-install-many-devices.xml
+++ b/tests/data/cli/compare/virt-install-many-devices.xml
@@ -602,7 +602,7 @@
<certificate>/path/to/fake/cert2</certificate>
</smartcard>
<serial type="tcp">
- <source mode="bind" host="127.0.0.1" service="2222"/>
+ <source mode="bind" host="127.0.0.1" service="2222" tls="yes"/>
<protocol type="telnet"/>
<log file="/tmp/foo.log" append="on"/>
<target>
diff --git a/tests/test_cli.py b/tests/test_cli.py
index 42de3478..715fc503 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -661,7 +661,7 @@ source.reservations.managed=no,source.reservations.source.type=unix,source.reser
--input mouse,model=FOOBAR,xpath0.set=./@bus=usb,xpath2.set=./address/@type=usb,xpath6.set=./willbeoverwritten=foo,xpath6.create=./randomelement,xpath7.create=./deleteme,xpath8.delete=./deleteme,xpath9.set=./@model=,xpath10.set=./@type,xpath10.value=keyboard
---serial char_type=tcp,host=:2222,mode=bind,protocol=telnet,log.file=/tmp/foo.log,log.append=yes,,target.model.name=pci-serial
+--serial char_type=tcp,host=:2222,mode=bind,protocol=telnet,log.file=/tmp/foo.log,log.append=yes,,target.model.name=pci-serial,source.tls=on
--serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2,alias.name=testalias7
--serial spiceport,source.channel=org.qemu.console.serial.0
@@ -742,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=,backend.source.channel=
+--rng device=/dev/urandom,backend.protocol.type=,backend.log.file=,backend.log.append=,backend.source.clipboard.copypaste=,backend.source.mouse.mode=,backend.source.channel=,backend.source.tls=
--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