[libvirt] [PATCH 06/10] tests: virstoragetest: Add complementary test case for QED format

Peter Krempa posted 10 patches 6 years, 11 months ago
[libvirt] [PATCH 06/10] tests: virstoragetest: Add complementary test case for QED format
Posted by Peter Krempa 6 years, 11 months ago
We have a test case for QED disk image with autodetection but not with
the format explicitly specified.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 tests/virstoragetest.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/virstoragetest.c b/tests/virstoragetest.c
index 0e11602e84..f3b96a9b87 100644
--- a/tests/virstoragetest.c
+++ b/tests/virstoragetest.c
@@ -949,6 +949,9 @@ mymain(void)
         .type = VIR_STORAGE_TYPE_FILE,
         .format = VIR_STORAGE_FILE_RAW,
     };
+    TEST_CHAIN(absqed, VIR_STORAGE_FILE_QED,
+               (&qed, &raw), EXP_PASS,
+               (&qed, &raw), ALLOW_PROBE | EXP_PASS);
     TEST_CHAIN(absqed, VIR_STORAGE_FILE_AUTO,
                (&qed_as_raw), EXP_PASS,
                (&qed, &raw), ALLOW_PROBE | EXP_PASS);
-- 
2.16.2

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 06/10] tests: virstoragetest: Add complementary test case for QED format
Posted by Ján Tomko 6 years, 11 months ago
On Mon, Jun 04, 2018 at 10:58:48AM +0200, Peter Krempa wrote:
>We have a test case for QED disk image with autodetection but not with
>the format explicitly specified.
>
>Signed-off-by: Peter Krempa <pkrempa@redhat.com>
>---
> tests/virstoragetest.c | 3 +++
> 1 file changed, 3 insertions(+)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list