tests: clitest: Cover all --graphics options and aliases

This commit is contained in:
Cole Robinson 2019-05-15 16:37:50 -04:00
parent 56f47faf49
commit d5c7771e49
2 changed files with 11 additions and 7 deletions

View File

@ -355,9 +355,13 @@
<mouse mode="client"/>
<filetransfer enable="yes"/>
</graphics>
<graphics type="spice">
<graphics type="spice" tlsPort="6000" passwd="testpass" passwdValidTo="2010-04-09T15:51:01" defaultMode="insecure">
<gl enable="yes" rendernode="/dev/dri/by-path/pci-0000:00:02.0-render"/>
<image compression="off"/>
<image compression="glz"/>
<streaming mode="filter"/>
<clipboard copypaste="yes"/>
<mouse mode="client"/>
<filetransfer enable="yes"/>
<listen type="socket"/>
</graphics>
<graphics type="spice">
@ -366,11 +370,11 @@
<listen type="none"/>
</graphics>
<graphics type="spice">
<gl enable="yes" rendernode="/dev/dri/foo"/>
<gl enable="yes" rendernode="/dev/dri/foo2"/>
<image compression="off"/>
<listen type="none"/>
</graphics>
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes" connected="disconnect">
<image compression="off"/>
<listen type="address" address="1.2.3.4"/>
</graphics>

View File

@ -542,10 +542,10 @@ source.reservations.managed=no,source.reservations.source.type=unix,source.reser
--graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo
--graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja
--graphics spice,image_compression=glz,streaming_mode=filter,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on
--graphics spice,gl=yes,listen=socket
--graphics spice,gl=yes,listen=socket,image.compression=glz,streaming.mode=filter,clipboard.copypaste=yes,mouse.mode=client,filetransfer.enable=on,tlsPort=6000,passwd=testpass,passwdValidTo=2010-04-09T15:51:00,passwordValidTo=2010-04-09T15:51:01,defaultMode=insecure
--graphics spice,gl=yes,listen=none
--graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo
--graphics spice,listens0.type=address,listens0.address=1.2.3.4
--graphics spice,gl.enable=yes,listen=none,rendernode=/dev/dri/foo,gl.rendernode=/dev/dri/foo2
--graphics spice,listens0.type=address,listens0.address=1.2.3.4,connected=disconnect
--graphics spice,listens0.type=network,listens0.network=default
--graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar