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

Peter Krempa pkrempa at redhat.com
Mon Jun 4 08:58:48 UTC 2018


We have a test case for QED disk image with autodetection but not with
the format explicitly specified.

Signed-off-by: Peter Krempa <pkrempa at 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




More information about the libvir-list mailing list