提交 8646b125 编写于 作者: P Pavel Hrdina

tests: don't use unix socket path that matches auto-generated path

The test was introduced by 60135b22.

The auto-generated path is removed by post-parse callback which
also changes the mode from "connect" to "bind" since the auto-generated
path makes sense only for "bind" mode.
Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
上级 39354391
...@@ -23,14 +23,12 @@ server,nowait \ ...@@ -23,14 +23,12 @@ server,nowait \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \ -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \
-device usb-ccid,id=ccid0,bus=usb.0,port=1 \ -device usb-ccid,id=ccid0,bus=usb.0,port=1 \
-usb \ -usb \
-chardev socket,id=charsmartcard0,path=/tmp/channel/domain-oldname/asdf,\ -chardev socket,id=charsmartcard0,path=/tmp/channel/asdf,reconnect=20 \
reconnect=20 \
-device ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0 \ -device ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0 \
-chardev socket,id=charchannel0,host=localhost,port=1234,reconnect=10 \ -chardev socket,id=charchannel0,host=localhost,port=1234,reconnect=10 \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,\ -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,\
id=channel0,name=asdf \ id=channel0,name=asdf \
-chardev socket,id=charchannel1,path=/tmp/channel/domain--1-QEMUGuest1/fdsa,\ -chardev socket,id=charchannel1,path=/tmp/channel/fdsa,reconnect=0 \
server,nowait,reconnect=0 \
-device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,\ -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,\
id=channel1,name=fdsa \ id=channel1,name=fdsa \
-chardev socket,id=charredir0,host=localhost,port=3456,reconnect=15 \ -chardev socket,id=charredir0,host=localhost,port=3456,reconnect=15 \
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</source> </source>
</redirdev> </redirdev>
<smartcard mode='passthrough' type='unix'> <smartcard mode='passthrough' type='unix'>
<source mode='connect' path='/tmp/channel/domain-oldname/asdf'> <source mode='connect' path='/tmp/channel/asdf'>
<reconnect enabled='yes' timeout='20'/> <reconnect enabled='yes' timeout='20'/>
</source> </source>
</smartcard> </smartcard>
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<target type='virtio' name='asdf'/> <target type='virtio' name='asdf'/>
</channel> </channel>
<channel type='unix'> <channel type='unix'>
<source mode='connect' path='/tmp/channel/domain-oldname/fdsa'> <source mode='connect' path='/tmp/channel/fdsa'>
<reconnect enabled='no'/> <reconnect enabled='no'/>
</source> </source>
<target type='virtio' name='fdsa'/> <target type='virtio' name='fdsa'/>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册