Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
tests/qemublocktest.c | 3 +++
tests/qemublocktestdata/bitmapblockcopy/empty-deep-out.json | 0
tests/qemublocktestdata/bitmapblockcopy/empty-shallow-out.json | 0
3 files changed, 3 insertions(+)
create mode 100644 tests/qemublocktestdata/bitmapblockcopy/empty-deep-out.json
create mode 100644 tests/qemublocktestdata/bitmapblockcopy/empty-shallow-out.json
diff --git a/tests/qemublocktest.c b/tests/qemublocktest.c
index 1821c227d5..2ddfab72eb 100644
--- a/tests/qemublocktest.c
+++ b/tests/qemublocktest.c
@@ -1408,6 +1408,9 @@ mymain(void)
ret = -1; \
} while (0)
+ TEST_BITMAP_BLOCKCOPY("empty-shallow", true, "empty");
+ TEST_BITMAP_BLOCKCOPY("empty-deep", false, "empty");
+
TEST_BITMAP_BLOCKCOPY("basic-shallow", true, "basic");
TEST_BITMAP_BLOCKCOPY("basic-deep", false, "basic");
diff --git a/tests/qemublocktestdata/bitmapblockcopy/empty-deep-out.json
b/tests/qemublocktestdata/bitmapblockcopy/empty-deep-out.json
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/qemublocktestdata/bitmapblockcopy/empty-shallow-out.json
b/tests/qemublocktestdata/bitmapblockcopy/empty-shallow-out.json
new file mode 100644
index 0000000000..e69de29bb2
--
2.26.2