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 <mre...@redhat.com> > ---
> + > +$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