321fd7d2b8
Add a test case for trying to open an image file where it is impossible to open its backing file (in this case, because it was deleted). When doing this, qemu (or qemu-io in this case) should not crash but rather print an appropriate error message. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
9 lines
353 B
Plaintext
9 lines
353 B
Plaintext
QA output created by 069
|
|
|
|
=== Creating an image with a backing file and deleting that file ===
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=131072
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 backing_file='TEST_DIR/t.IMGFMT.base'
|
|
qemu-io: can't open device TEST_DIR/t.IMGFMT: Could not open file: No such file or directory
|
|
*** done
|