virt-manager/tests/data/cli/compare/virt-clone-auto-unmanaged.xml
Cole Robinson c0d1e76941 tests: Cover more of cloner.py from test_cli.py
Cover more cases via the virt-clone CLI testing, than just the
test_cloner.py unit style testing.

Change most of the virt-clone --print-xml testing to also attempt the
clone operation as well via a hidden cli option, to ensure we aren't
testing XML of any bogus operations

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2020-09-05 15:49:55 -04:00

35 lines
970 B
XML

<domain type="test">
<name>origtest-clone</name>
<uuid>00000000-1111-2222-3333-444444444444</uuid>
<memory>8388608</memory>
<currentMemory>2097152</currentMemory>
<vcpu>2</vcpu>
<os>
<type arch="i686">hvm</type>
<boot dev="hd"/>
</os>
<clock offset="utc"/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<disk type="file" device="disk">
<target dev="hda" bus="ide"/>
<source file="/tmp/__virtinst_cli_exist1-clone.img"/>
</disk>
<disk type="file" device="disk">
<target dev="hdb" bus="ide"/>
<source file="/tmp/__virtinst_cli_exist2-clone.img"/>
</disk>
<disk type="file" device="cdrom">
<target dev="hdc" bus="ide"/>
<source file="/tmp/__virtinst_cli_exist2.img"/>
<readonly/>
</disk>
<disk type="file" device="floppy">
<target dev="fda" bus="fdc"/>
<readonly/>
</disk>
</devices>
</domain>