From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xj29j-0005uK-Dp for qemu-devel@nongnu.org; Tue, 28 Oct 2014 04:29:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xj29e-000093-GU for qemu-devel@nongnu.org; Tue, 28 Oct 2014 04:29:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xj29e-00008o-9q for qemu-devel@nongnu.org; Tue, 28 Oct 2014 04:29:26 -0400 Message-ID: <544F53DC.5090306@redhat.com> Date: Tue, 28 Oct 2014 09:29:16 +0100 From: Max Reitz MIME-Version: 1.0 References: <1414413009-9008-1-git-send-email-mreitz@redhat.com> <1414413009-9008-3-git-send-email-mreitz@redhat.com> <544E7D6F.9090802@redhat.com> In-Reply-To: <544E7D6F.9090802@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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: Eric Blake , qemu-devel@nongnu.org Cc: Kevin Wolf , Peter Lieven , Stefan Hajnoczi On 2014-10-27 at 18:14, Eric Blake wrote: > 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 >> --- >> + >> +$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. I was tempted to use .nai, which would be "does not exist" in Japanese, but then I went for http://en.wiktionary.org/wiki/inexistent :-P I'd be fine with whatever. Max >> +++ 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.