qemuxml2argvtest: Add seclabels in <backingStore> to disk-backing-chains-(no)index

Commit da9f3cd84b added the seclabel example into the
'disk-backing-chains' case.

Since the only thing that 'disk-backing-chains' tests which
'disk-backing-chains-(no)index' don't test is the seclabel we'll be able
to remove the test case if we add the seclabel example.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Peter Krempa 2022-05-03 15:10:37 +02:00
parent 75a7a3b597
commit e2b36febdf
5 changed files with 25 additions and 5 deletions

View File

@ -38,7 +38,11 @@
<source file='/tmp/image2'/>
<backingStore type='file' index='6'>
<format type='qcow2'/>
<source file='/tmp/image3.qcow'/>
<source file='/tmp/image3.qcow'>
<seclabel model='selinux' relabel='yes'>
<label>system_u:system_r:public_content_t:s0</label>
</seclabel>
</source>
<backingStore type='file' index='5'>
<format type='qcow2'/>
<source file='/tmp/image4.qcow'>

View File

@ -38,7 +38,11 @@
<source file='/tmp/image2'/>
<backingStore type='file'>
<format type='qcow2'/>
<source file='/tmp/image3.qcow'/>
<source file='/tmp/image3.qcow'>
<seclabel model='selinux' relabel='yes'>
<label>system_u:system_r:public_content_t:s0</label>
</seclabel>
</source>
<backingStore type='file'>
<format type='qcow2'/>
<source file='/tmp/image4.qcow'>

View File

@ -39,7 +39,11 @@
<source file='/tmp/image2'/>
<backingStore type='file' index='6'>
<format type='qcow2'/>
<source file='/tmp/image3.qcow'/>
<source file='/tmp/image3.qcow'>
<seclabel model='selinux' relabel='yes'>
<label>system_u:system_r:public_content_t:s0</label>
</seclabel>
</source>
<backingStore type='file' index='5'>
<format type='qcow2'/>
<source file='/tmp/image4.qcow'/>

View File

@ -39,7 +39,11 @@
<source file='/tmp/image2'/>
<backingStore type='file'>
<format type='qcow2'/>
<source file='/tmp/image3.qcow'/>
<source file='/tmp/image3.qcow'>
<seclabel model='selinux' relabel='yes'>
<label>system_u:system_r:public_content_t:s0</label>
</seclabel>
</source>
<backingStore type='file'>
<format type='qcow2'/>
<source file='/tmp/image4.qcow'/>

View File

@ -39,7 +39,11 @@
<source file='/tmp/image2'/>
<backingStore type='file'>
<format type='qcow2'/>
<source file='/tmp/image3.qcow'/>
<source file='/tmp/image3.qcow'>
<seclabel model='selinux' relabel='yes'>
<label>system_u:system_r:public_content_t:s0</label>
</seclabel>
</source>
<backingStore type='file'>
<format type='qcow2'/>
<source file='/tmp/image4.qcow'/>