|
From: | Max Reitz |
Subject: | Re: [Qemu-devel] [PATCH 2/2] iotests: Add test for non-existing backing file |
Date: | Tue, 28 Oct 2014 09:29:16 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
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 <address@hidden> --- + +$QEMU_IMG create -f $IMGFMT -b "$TEST_IMG.inexistent" "$TEST_IMG" 2>&1 \ + | _filter_testdir | _filter_imgfmtinexistent 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 directoryI'm okay whether you leave the test as-is, or s/in/non/ in two places.
[Prev in Thread] | Current Thread | [Next in Thread] |