Commit da9f3cd84b250088 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(a)redhat.com>
---
tests/qemuxml2argvdata/disk-backing-chains-index.xml | 6 +++++-
tests/qemuxml2argvdata/disk-backing-chains-noindex.xml | 6 +++++-
.../qemuxml2xmloutdata/disk-backing-chains-index-active.xml | 6 +++++-
.../disk-backing-chains-index-inactive.xml | 6 +++++-
tests/qemuxml2xmloutdata/disk-backing-chains-noindex.xml | 6 +++++-
5 files changed, 25 insertions(+), 5 deletions(-)
diff --git a/tests/qemuxml2argvdata/disk-backing-chains-index.xml
b/tests/qemuxml2argvdata/disk-backing-chains-index.xml
index 9054963f1f..90da6a97e9 100644
--- a/tests/qemuxml2argvdata/disk-backing-chains-index.xml
+++ b/tests/qemuxml2argvdata/disk-backing-chains-index.xml
@@ -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'>
diff --git a/tests/qemuxml2argvdata/disk-backing-chains-noindex.xml
b/tests/qemuxml2argvdata/disk-backing-chains-noindex.xml
index ca7dc2d2b3..dc928f7075 100644
--- a/tests/qemuxml2argvdata/disk-backing-chains-noindex.xml
+++ b/tests/qemuxml2argvdata/disk-backing-chains-noindex.xml
@@ -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'>
diff --git a/tests/qemuxml2xmloutdata/disk-backing-chains-index-active.xml
b/tests/qemuxml2xmloutdata/disk-backing-chains-index-active.xml
index ca7684d3b6..4f30bc7111 100644
--- a/tests/qemuxml2xmloutdata/disk-backing-chains-index-active.xml
+++ b/tests/qemuxml2xmloutdata/disk-backing-chains-index-active.xml
@@ -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'/>
diff --git a/tests/qemuxml2xmloutdata/disk-backing-chains-index-inactive.xml
b/tests/qemuxml2xmloutdata/disk-backing-chains-index-inactive.xml
index 74e7a74b48..c992679b36 100644
--- a/tests/qemuxml2xmloutdata/disk-backing-chains-index-inactive.xml
+++ b/tests/qemuxml2xmloutdata/disk-backing-chains-index-inactive.xml
@@ -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'/>
diff --git a/tests/qemuxml2xmloutdata/disk-backing-chains-noindex.xml
b/tests/qemuxml2xmloutdata/disk-backing-chains-noindex.xml
index 74e7a74b48..c992679b36 100644
--- a/tests/qemuxml2xmloutdata/disk-backing-chains-noindex.xml
+++ b/tests/qemuxml2xmloutdata/disk-backing-chains-noindex.xml
@@ -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'/>
--
2.38.1