[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] iotests: Add test for non-existing backing
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] iotests: Add test for non-existing backing file |
Date: |
Mon, 27 Oct 2014 11:14:23 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
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 file
> given does not actually exist.
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> +
> +$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.inexistent':
> No such file or directory
I'm okay whether you leave the test as-is, or s/in/non/ in two places.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 0/2] block: Propagate error in bdrv_img_create(), Max Reitz, 2014/10/27
- [Qemu-devel] [PATCH 2/2] iotests: Add test for non-existing backing file, Max Reitz, 2014/10/27
- Re: [Qemu-devel] [PATCH 2/2] iotests: Add test for non-existing backing file,
Eric Blake <=
- [Qemu-devel] [PATCH 1/2] block: Propagate error in bdrv_img_create(), Max Reitz, 2014/10/27
- Re: [Qemu-devel] [PATCH 0/2] block: Propagate error in bdrv_img_create(), Peter Lieven, 2014/10/27
- Re: [Qemu-devel] [PATCH 0/2] block: Propagate error in bdrv_img_create(), Kevin Wolf, 2014/10/28
- Re: [Qemu-devel] [PATCH 0/2] block: Propagate error in bdrv_img_create(), Stefan Hajnoczi, 2014/10/29