From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XinsO-0005BA-LD for qemu-devel@nongnu.org; Mon, 27 Oct 2014 13:14:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XinsJ-0003N6-NU for qemu-devel@nongnu.org; Mon, 27 Oct 2014 13:14:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XinsJ-0003Mw-Eo for qemu-devel@nongnu.org; Mon, 27 Oct 2014 13:14:35 -0400 Message-ID: <544E7D6F.9090802@redhat.com> Date: Mon, 27 Oct 2014 11:14:23 -0600 From: Eric Blake MIME-Version: 1.0 References: <1414413009-9008-1-git-send-email-mreitz@redhat.com> <1414413009-9008-3-git-send-email-mreitz@redhat.com> In-Reply-To: <1414413009-9008-3-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oxx4KOfdDN5AQWVceK32FNGJbMxcgtqDt" Subject: Re: [Qemu-devel] [PATCH 2/2] iotests: Add test for non-existing backing file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-devel@nongnu.org Cc: Kevin Wolf , Peter Lieven , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --oxx4KOfdDN5AQWVceK32FNGJbMxcgtqDt Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/27/2014 06:30 AM, Max Reitz wrote: > Test the error message when a COW file is about to be created which is > supposed to inherit the size of its backing file, while the backing fil= e > given does not actually exist. >=20 > Signed-off-by: Max Reitz > --- > + > +$QEMU_IMG create -f $IMGFMT -b "$TEST_IMG.inexistent" "$TEST_IMG" 2>&1= \ > + | _filter_testdir | _filter_imgfmt inexistent it a nonexistent word :) But it correctly tests the problem. > +++ b/tests/qemu-iotests/111.out > @@ -0,0 +1,3 @@ > +QA output created by 111 > +qemu-img: TEST_DIR/t.IMGFMT: Could not open 'TEST_DIR/t.IMGFMT.inexist= ent': No such file or directory I'm okay whether you leave the test as-is, or s/in/non/ in two places. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --oxx4KOfdDN5AQWVceK32FNGJbMxcgtqDt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUTn1vAAoJEKeha0olJ0NqCDwIAKe7XBkszhJ87HkbzyBzGGRP g+WI73JyvsFwqjwuSUT+g86/cq/KauDxJFYNS959ziwdkUL9tYKY0YjC6q+wMrNj WpbZ0htJzAeg5KHBrK11f9348cDB8NG9mhmIAUaLKa6ZS4Af728JIXSO1b/6zSvA 6EZAfChtrNNEjPiyRQaWedw8l0jlZShBCfW50I5w+8L/HF9uQw4B6M2Lcej6s+O+ FnqJjeTv6m+Gt0Ed6KxBOrMsAv6nSKFqRjK6hbsDbOgkQHww8HS8/IB4LO5A1M5/ +KOy3bPGHsca2Vv62VLYNFuP+y6pqDvgiU5Ej8ST1FWC46WTqgbD/ncvjK+R368= =ugdL -----END PGP SIGNATURE----- --oxx4KOfdDN5AQWVceK32FNGJbMxcgtqDt--