qemu-block
[Top][All Lists]
Advanced

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

Re: [PATCH v2 8/8] iotests: add tests for "qemu-img rebase" with compres


From: Hanna Czenczek
Subject: Re: [PATCH v2 8/8] iotests: add tests for "qemu-img rebase" with compression
Date: Tue, 19 Sep 2023 13:14:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 15.09.23 18:20, Andrey Drobyshev wrote:
The test cases considered so far:

314 (new test suite):

1. Check that compression mode isn't compatible with "-f raw" (raw
    format doesn't support compression).
2. Check that rebasing an image onto no backing file preserves the data
    and writes the copied clusters actually compressed.
3. Same as 2, but with a raw backing file (i.e. the clusters copied from the
    backing are originally uncompressed -- we check they end up compressed
    after being merged).
4. Remove a single delta from a backing chain, perform the same checks
    as in 2.
5. Check that even when backing and overlay are initially uncompressed,
    copied clusters end up compressed when rebase with compression is
    performed.

271:

1. Check that when target image has subclusters, rebase with compression
    will make an entire cluster containing the written subcluster
    compressed.

Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
---
  tests/qemu-iotests/271     |  65 +++++++++++++++
  tests/qemu-iotests/271.out |  40 +++++++++
  tests/qemu-iotests/314     | 165 +++++++++++++++++++++++++++++++++++++
  tests/qemu-iotests/314.out |  75 +++++++++++++++++
  4 files changed, 345 insertions(+)
  create mode 100755 tests/qemu-iotests/314
  create mode 100644 tests/qemu-iotests/314.out

Reviewed-by: Hanna Czenczek <hreitz@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]