Received: from eggs.gnu.org ([2001:4830:134:3::10]:58983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKvsH-00030p-Ah for qemu-devel@nongnu.org; Fri, 22 Aug 2014 16:55:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKvsB-0007aR-IW for qemu-devel@nongnu.org; Fri, 22 Aug 2014 16:55:53 -0400 Received: from dew.nodalink.com ([95.130.14.197]:39990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKvsB-0007aH-Af for qemu-devel@nongnu.org; Fri, 22 Aug 2014 16:55:47 -0400 Date: Fri, 22 Aug 2014 20:55:45 +0000 From: =?iso-8859-1?Q?Beno=EEt?= Canet Message-ID: <20140822205545.GK9526@nodalink.com> References: <1408725104-17176-1-git-send-email-mreitz@redhat.com> <1408725104-17176-11-git-send-email-mreitz@redhat.com> <53F7A015.5000004@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <53F7A015.5000004@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 10/10] iotests: Add test for potentially damaging repairs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Kevin Wolf , =?iso-8859-1?Q?Beno=EEt?= Canet , qemu-devel@nongnu.org, Stefan Hajnoczi , Max Reitz On Fri, Aug 22, 2014 at 01:55:01PM -0600, Eric Blake wrote: > On 08/22/2014 10:31 AM, Max Reitz wrote: > > There are certain cases where repairing a qcow2 image might actually > > damage it further (or rather, where repairing it has in fact damaged = it > > further with the old qcow2 check implementation). This should not > > happen, so add a test for these cases. > >=20 > > Signed-off-by: Max Reitz > > --- > > tests/qemu-iotests/104 | 98 ++++++++++++++++++++++++++++++++++++= ++++++++++ > > tests/qemu-iotests/104.out | 46 ++++++++++++++++++++++ > > tests/qemu-iotests/group | 1 + > > 3 files changed, 145 insertions(+) > > create mode 100755 tests/qemu-iotests/104 > > create mode 100644 tests/qemu-iotests/104.out > >=20 > > diff --git a/tests/qemu-iotests/104 b/tests/qemu-iotests/104 > > new file mode 100755 > > index 0000000..cc6d0b3 > > --- /dev/null > > +++ b/tests/qemu-iotests/104 > > @@ -0,0 +1,98 @@ > > +#!/bin/bash > > +# > > +# Test case for repairing qcow2 images which cannot be repaired usin= g > > +# the on-disk refcount structures > > +# > > +# Copyright (C) 2013 Red Hat, Inc. >=20 > Welcome to 2014, where we are practically 2/3 through with the year > already :) It may have been copied from an existing template so maybe the initial co= pyright is really from 2013. Beno=EEt >=20 > --=20 > Eric Blake eblake redhat com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org >=20