You need to sign in or sign up before continuing.
提交 129da536 编写于 作者: C Cole Robinson

tests: qemuxml2xml: Convert genid* to TEST_CAPS

Convert these test cases to use DO_TEST_CAPS_LATEST

* genid
* genid-auto

This ensures the test infrastructure is working as expected for
a test case with explicit -active and -inactive XML test data
Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
Signed-off-by: NCole Robinson <crobinso@redhat.com>
上级 ea5f33b7
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<on_crash>destroy</on_crash> <on_crash>destroy</on_crash>
<devices> <devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator> <emulator>/usr/bin/qemu-system-x86_64</emulator>
<controller type='usb' index='0'> <controller type='usb' index='0' model='piix3-uhci'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller> </controller>
<controller type='ide' index='0'> <controller type='ide' index='0'>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<on_crash>destroy</on_crash> <on_crash>destroy</on_crash>
<devices> <devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator> <emulator>/usr/bin/qemu-system-x86_64</emulator>
<controller type='usb' index='0'> <controller type='usb' index='0' model='piix3-uhci'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller> </controller>
<controller type='ide' index='0'> <controller type='ide' index='0'>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<on_crash>destroy</on_crash> <on_crash>destroy</on_crash>
<devices> <devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator> <emulator>/usr/bin/qemu-system-x86_64</emulator>
<controller type='usb' index='0'> <controller type='usb' index='0' model='piix3-uhci'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller> </controller>
<controller type='ide' index='0'> <controller type='ide' index='0'>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<on_crash>destroy</on_crash> <on_crash>destroy</on_crash>
<devices> <devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator> <emulator>/usr/bin/qemu-system-x86_64</emulator>
<controller type='usb' index='0'> <controller type='usb' index='0' model='piix3-uhci'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller> </controller>
<controller type='ide' index='0'> <controller type='ide' index='0'>
......
...@@ -244,8 +244,8 @@ mymain(void) ...@@ -244,8 +244,8 @@ mymain(void)
setenv("PATH", "/bin", 1); setenv("PATH", "/bin", 1);
DO_TEST("minimal", NONE); DO_TEST("minimal", NONE);
DO_TEST("genid", NONE); DO_TEST_CAPS_LATEST("genid");
DO_TEST("genid-auto", NONE); DO_TEST_CAPS_LATEST("genid-auto");
DO_TEST("machine-core-on", NONE); DO_TEST("machine-core-on", NONE);
DO_TEST("machine-core-off", NONE); DO_TEST("machine-core-off", NONE);
DO_TEST("machine-loadparm-multiple-disks-nets-s390", NONE); DO_TEST("machine-loadparm-multiple-disks-nets-s390", NONE);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册