[PATCH 09/32] qemublocktest: Add 'empty' case for checkpoint bitmap handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 tests/qemublocktest.c                           | 2 ++
 tests/qemublocktestdata/bitmapblockcommit/empty | 2 ++
 2 files changed, 4 insertions(+)
 create mode 100644 tests/qemublocktestdata/bitmapblockcommit/empty

diff --git a/tests/qemublocktest.c b/tests/qemublocktest.c
index 2ddfab72eb..d66e169fd8 100644
--- a/tests/qemublocktest.c
+++ b/tests/qemublocktest.c
@@ -1430,6 +1430,8 @@ mymain(void)
         ret = -1; \
     } while (0)

+    TEST_BITMAP_BLOCKCOMMIT("empty", 1, 2, "empty");
+
     TEST_BITMAP_BLOCKCOMMIT("basic-1-2", 1, 2, "basic");
     TEST_BITMAP_BLOCKCOMMIT("basic-1-3", 1, 3, "basic");
     TEST_BITMAP_BLOCKCOMMIT("basic-2-3", 2, 3, "basic");
diff --git a/tests/qemublocktestdata/bitmapblockcommit/empty b/tests/qemublocktestdata/bitmapblockcommit/empty
new file mode 100644
index 0000000000..bfc58f994e
--- /dev/null
+++ b/tests/qemublocktestdata/bitmapblockcommit/empty
@@ -0,0 +1,2 @@
+pre job bitmap disable:
+merge bitmpas:
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux