On 04/29/2014 09:17 AM, Max Reitz wrote:
Add a test for qemu-img commit on backing chains with more than two
images. This test also checks whether the images above the base image
are emptied and does therefore not work for qed and vmdk which requires
it to be separate from 020.
Signed-off-by: Max Reitz <address@hidden>
---
tests/qemu-iotests/092 | 108 +++++++++++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/092.out | 59 +++++++++++++++++++++++++
tests/qemu-iotests/group | 1 +
3 files changed, 168 insertions(+)
create mode 100755 tests/qemu-iotests/092
create mode 100644 tests/qemu-iotests/092.out
+# Two passes:
+# 0: Two-layer backing chain, commit to upper backing file (default)
+# (in this case, the top image will be emptied)
+# 1: Two-layer backing chain, commit to lower backing file
+# (in this case, the top image will stay as it is)
Should this test be modified to test the new -d option?