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