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 <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.

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.


Reply via email to