[PATCH 17/32] qemublocktest: Re-add bitmap validation for 'basic' and 'snapshots' cases
Peter Krempa
pkrempa at redhat.com
Mon Jun 15 17:10:04 UTC 2020
Now that we've updated both the test data and the validator to new
semantics we can start testing again.
Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
tests/qemublocktest.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/tests/qemublocktest.c b/tests/qemublocktest.c
index 0ed9b99bc4..6d1bf3f250 100644
--- a/tests/qemublocktest.c
+++ b/tests/qemublocktest.c
@@ -1346,6 +1346,18 @@ mymain(void)
TEST_BITMAP_VALIDATE("empty", "a", false);
+ TEST_BITMAP_VALIDATE("basic", "a", true);
+ TEST_BITMAP_VALIDATE("basic", "b", true);
+ TEST_BITMAP_VALIDATE("basic", "c", true);
+ TEST_BITMAP_VALIDATE("basic", "d", true);
+ TEST_BITMAP_VALIDATE("basic", "current", true);
+
+ TEST_BITMAP_VALIDATE("snapshots", "a", true);
+ TEST_BITMAP_VALIDATE("snapshots", "b", true);
+ TEST_BITMAP_VALIDATE("snapshots", "c", true);
+ TEST_BITMAP_VALIDATE("snapshots", "d", true);
+ TEST_BITMAP_VALIDATE("snapshots", "current", true);
+
#define TEST_BITMAP_BLOCKCOPY(testname, shllw, ndf) \
do { \
blockbitmapblockcopydata.name = testname; \
--
2.26.2
More information about the libvir-list
mailing list