]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: virstoragetest: Add complementary test case for QED format
authorPeter Krempa <pkrempa@redhat.com>
Mon, 4 Jun 2018 07:36:24 +0000 (09:36 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 8 Jun 2018 07:26:38 +0000 (09:26 +0200)
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>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/virstoragetest.c

index 5221e82ad28d94b82657ad48756e5558c333626a..f3fd507f4220d4c7c3d2b8f8f511fa0dde324f77 100644 (file)
@@ -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);