mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
tests: introduce a test for removing unix channel path for virt-clone
Commit 3a33f341
fixed an issue, where we should remove source path for
unix channel in order to let libvirt generate new one. Add a test case
to cover this change.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
627abed9c1
commit
8e9d50c75e
@ -63,6 +63,7 @@
|
||||
<controller type="scsi" index="0"/>
|
||||
<controller type="fdc" index="0"/>
|
||||
<controller type="ide" index="0"/>
|
||||
<controller type="virtio-serial" index="0"/>
|
||||
<interface type="network">
|
||||
<mac address="00:11:22:33:44:55"/>
|
||||
<source network="default"/>
|
||||
@ -75,5 +76,9 @@
|
||||
<source path="/tmp/foo.log"/>
|
||||
<target port="0"/>
|
||||
</parallel>
|
||||
<channel type="unix">
|
||||
<source mode="bind"/>
|
||||
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
||||
</channel>
|
||||
</devices>
|
||||
</domain>
|
||||
|
@ -820,6 +820,10 @@ test-many-devices, like an alternate RNG.
|
||||
<parallel type='file'>
|
||||
<source path='/tmp/foo.log'/>
|
||||
</parallel>
|
||||
<channel type='unix'>
|
||||
<source mode='bind' path='/var/lib/libvirt/qemu/channel/target/test-for-clone/org.qemu.guest_agent.0'/>
|
||||
<target type='virtio' name='org.qemu.guest_agent.0'/>
|
||||
</channel>
|
||||
</devices>
|
||||
</domain>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user