tests: clitest: Cover all char options and aliases

This commit is contained in:
Cole Robinson 2019-05-15 17:24:58 -04:00
parent 2b613d2ef5
commit 7eedcac1e7
2 changed files with 10 additions and 1 deletions

View File

@ -317,6 +317,10 @@
<source mode="bind" host="127.0.0.1" service="1234"/>
<source mode="connect" host="0.0.0.0" service="1234"/>
</parallel>
<parallel type="udp">
<source mode="bind" host="127.0.0.1" service="7777"/>
<source mode="connect" host="127.0.0.2" service="8888"/>
</parallel>
<parallel type="unix">
<source mode="bind" path="/tmp/foo-socket">
<seclabel model="none" relabel="no"/>
@ -337,6 +341,9 @@
<channel type="pty">
<target type="virtio" name="org.linux-kvm.port1"/>
</channel>
<channel type="pty">
<target type="virtio" name="org.linux-kvm.port2"/>
</channel>
<channel type="spicevmc">
<target type="virtio" name="com.redhat.spice.0"/>
</channel>

View File

@ -567,10 +567,12 @@ source.reservations.managed=no,source.reservations.source.type=unix,source.reser
--serial 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
--parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234
--parallel udp,source.connect_host=127.0.0.2,source.connect_service=8888,source.bind_host=127.0.0.1,source.bind_service=7777
--parallel unix,path=/tmp/foo-socket,source.seclabel0.model=none,source.seclabel1.model=dac,source.seclabel1.relabel=yes,source.seclabel1.label=foobar,source.seclabel.relabel=no
--channel pty,target_type=guestfwd,target_address=127.0.0.1:10000
--channel pty,target_type=guestfwd,target_address=127.0.0.1,target.port=1234
--channel pty,target_type=guestfwd,target.address=127.0.0.1,target.port=1234
--channel pty,target_type=virtio,name=org.linux-kvm.port1
--channel pty,target.type=virtio,target.name=org.linux-kvm.port2
--console pty,target_type=virtio
--channel spicevmc