|
|
a41c76 |
From 04bc9dbf9940f6976c5320ce628f97197625e4d7 Mon Sep 17 00:00:00 2001
|
|
|
a41c76 |
Message-Id: <04bc9dbf9940f6976c5320ce628f97197625e4d7@dist-git>
|
|
|
a41c76 |
From: Peter Krempa <pkrempa@redhat.com>
|
|
|
a41c76 |
Date: Tue, 23 Jun 2020 12:23:43 +0200
|
|
|
a41c76 |
Subject: [PATCH] qemublocktest: Add 'empty' case for checkpoint bitmap
|
|
|
a41c76 |
handling
|
|
|
a41c76 |
MIME-Version: 1.0
|
|
|
a41c76 |
Content-Type: text/plain; charset=UTF-8
|
|
|
a41c76 |
Content-Transfer-Encoding: 8bit
|
|
|
a41c76 |
|
|
|
a41c76 |
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
|
|
|
a41c76 |
Reviewed-by: Eric Blake <eblake@redhat.com>
|
|
|
a41c76 |
(cherry picked from commit cc1a33b59940f9e2a0856ac49dd9b8a185df8a01)
|
|
|
a41c76 |
https://bugzilla.redhat.com/show_bug.cgi?id=1804593
|
|
|
a41c76 |
Message-Id: <c29f12f53fef11d76aa14ece56ac5f43f74cb21d.1592906423.git.pkrempa@redhat.com>
|
|
|
a41c76 |
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
|
a41c76 |
---
|
|
|
a41c76 |
tests/qemublocktest.c | 2 ++
|
|
|
a41c76 |
tests/qemublocktestdata/bitmapblockcommit/empty | 2 ++
|
|
|
a41c76 |
2 files changed, 4 insertions(+)
|
|
|
a41c76 |
create mode 100644 tests/qemublocktestdata/bitmapblockcommit/empty
|
|
|
a41c76 |
|
|
|
a41c76 |
diff --git a/tests/qemublocktest.c b/tests/qemublocktest.c
|
|
|
a41c76 |
index 2009cad228..36e3378f5b 100644
|
|
|
a41c76 |
--- a/tests/qemublocktest.c
|
|
|
a41c76 |
+++ b/tests/qemublocktest.c
|
|
|
a41c76 |
@@ -1429,6 +1429,8 @@ mymain(void)
|
|
|
a41c76 |
ret = -1; \
|
|
|
a41c76 |
} while (0)
|
|
|
a41c76 |
|
|
|
a41c76 |
+ TEST_BITMAP_BLOCKCOMMIT("empty", 1, 2, "empty");
|
|
|
a41c76 |
+
|
|
|
a41c76 |
TEST_BITMAP_BLOCKCOMMIT("basic-1-2", 1, 2, "basic");
|
|
|
a41c76 |
TEST_BITMAP_BLOCKCOMMIT("basic-1-3", 1, 3, "basic");
|
|
|
a41c76 |
TEST_BITMAP_BLOCKCOMMIT("basic-2-3", 2, 3, "basic");
|
|
|
a41c76 |
diff --git a/tests/qemublocktestdata/bitmapblockcommit/empty b/tests/qemublocktestdata/bitmapblockcommit/empty
|
|
|
a41c76 |
new file mode 100644
|
|
|
a41c76 |
index 0000000000..bfc58f994e
|
|
|
a41c76 |
--- /dev/null
|
|
|
a41c76 |
+++ b/tests/qemublocktestdata/bitmapblockcommit/empty
|
|
|
a41c76 |
@@ -0,0 +1,2 @@
|
|
|
a41c76 |
+pre job bitmap disable:
|
|
|
a41c76 |
+merge bitmpas:
|
|
|
a41c76 |
--
|
|
|
a41c76 |
2.27.0
|
|
|
a41c76 |
|