qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/3] qemu-iotest: qcow2 image option amendment


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH 3/3] qemu-iotest: qcow2 image option amendment
Date: Wed, 28 Aug 2013 13:47:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

Am 28.08.2013 13:40, schrieb Kevin Wolf:
Am 28.08.2013 um 10:08 hat Max Reitz geschrieben:
Add tests for qemu-img amend on qcow2 image files.

Signed-off-by: Max Reitz <address@hidden>
---
This test is numbered 061 for not interfering with my "metadata overlap
checks" series (although I will have to adapt my code to those new checks
anyway when/if they are included in master).
---
  tests/qemu-iotests/061     | 121 +++++++++++++++++++
  tests/qemu-iotests/061.out | 289 +++++++++++++++++++++++++++++++++++++++++++++
  tests/qemu-iotests/group   |   1 +
  3 files changed, 411 insertions(+)
  create mode 100755 tests/qemu-iotests/061
  create mode 100644 tests/qemu-iotests/061.out
The existing cases look good. I would add some _check_test_img calls
after each amendment, and perhaps include a few cases with non-standard
cluster_size etc. during image creation (which would show that your TODO
isn't addressed yet).

Kevin

Ah, right, because it won't be 0 but DEFAULT_CLUSTER_SIZE then… Hm. So, generally, right now I can just check whether the value differs and is not DEFAULT_CLUSTER_SIZE (which would obviously silently ignore the flag when cluster_size=$DEFAULT_CLUSTER_SIZE was given)?

Max



reply via email to

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