summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/069.out
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2013-10-29 19:18:54 +0100
committerKevin Wolf <kwolf@redhat.com>2013-10-30 12:16:43 +0100
commit321fd7d2b88defe11528e4d5a9f686c89ebee1ee (patch)
treef316eec5012553ff6c3d2bad6deb89289ca02c49 /tests/qemu-iotests/069.out
parent915365a9c622be52c87fcc1cc9d63fbc5cd75b6d (diff)
downloadqemu-321fd7d2b88defe11528e4d5a9f686c89ebee1ee.tar.gz
qemu-iotests: Test case for backing file deletion
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>
Diffstat (limited to 'tests/qemu-iotests/069.out')
-rw-r--r--tests/qemu-iotests/069.out8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/qemu-iotests/069.out b/tests/qemu-iotests/069.out
new file mode 100644
index 0000000000..364881429c
--- /dev/null
+++ b/tests/qemu-iotests/069.out
@@ -0,0 +1,8 @@
+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