]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: chxml2xmlin: Fix path format for fake paths
authorPeter Krempa <pkrempa@redhat.com>
Thu, 24 Aug 2023 12:44:39 +0000 (14:44 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 25 Aug 2023 08:07:36 +0000 (10:07 +0200)
Our XML schema requires absolute paths for the <kernel> and disk source
values. Fix the 'ch' test to have absolute paths.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/chxml2xmlin/basic.xml

index 911aa7c621cb3f2d765a35cf112538d121d31b19..4cd2f3ae5fbcabea0ba0970db09e927b96447aad 100644 (file)
@@ -6,7 +6,7 @@
   <vcpu placement='static'>2</vcpu>
   <os>
     <type arch='x86_64'>hvm</type>
-    <kernel>hypervisor-fw</kernel>
+    <kernel>/path/to/hypervisor-fw</kernel>
     <boot dev='hd'/>
   </os>
   <clock offset='utc'/>
@@ -16,7 +16,7 @@
   <devices>
     <emulator>/usr/local/bin/cloud-hypervisor</emulator>
     <disk type='file' device='disk'>
-      <source file='disk.raw'/>
+      <source file='/path/to/disk.raw'/>
       <target dev='vda' bus='virtio'/>
     </disk>
     <interface type='ethernet'>