As the previous commit changes the logic of "qemu-img rebase" (it's using
write alignment now), let's add a couple more test cases which would
ensure it works correctly. In particular, the following scenarios:
024: add test case for rebase within one backing chain when the overlay
cluster size > backings cluster size;
271: add test case for rebase images that contain subclusters. Check
that no extra allocations are being made.
Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
---
tests/qemu-iotests/024 | 60 ++++++++++++++++++++++++++++++++++
tests/qemu-iotests/024.out | 43 +++++++++++++++++++++++++
tests/qemu-iotests/271 | 66 ++++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/271.out | 42 ++++++++++++++++++++++++
4 files changed, 211 insertions(+)