aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/225.out
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2018-07-02 23:07:21 +0200
committerMax Reitz <mreitz@redhat.com>2018-07-09 19:43:24 +0200
commit85456e0d16434ffe5b33f1354cd893180f2fb235 (patch)
treee134099b55c22e38e62cd1abd33b4e81f1644c66 /tests/qemu-iotests/225.out
parent439e89fc09ab6070f9613c4c513a4d4f133b23b7 (diff)
iotests: Add VMDK backing file correlation test
This new test verifies that VMDK backing file reads fail when the backing file has a non-matching CID. This includes non-VMDK backing files. Signed-off-by: Max Reitz <mreitz@redhat.com> Message-id: 20180702210721.4847-3-mreitz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/225.out')
-rw-r--r--tests/qemu-iotests/225.out24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/qemu-iotests/225.out b/tests/qemu-iotests/225.out
new file mode 100644
index 0000000000..4dc8ee282f
--- /dev/null
+++ b/tests/qemu-iotests/225.out
@@ -0,0 +1,24 @@
+QA output created by 225
+Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=1048576
+Formatting 'TEST_DIR/t.IMGFMT.not_base', fmt=IMGFMT size=1048576
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.base
+
+=== Testing fitting VMDK backing image ===
+
+QEMU X.Y.Z monitor - type 'help' for more information
+(qemu) qemu-io overlay "read 0 512"
+read 512/512 bytes at offset 0
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+
+=== Testing unrelated VMDK backing image ===
+
+QEMU X.Y.Z monitor - type 'help' for more information
+(qemu) qemu-io overlay "read 0 512"
+read failed: Invalid argument
+
+=== Testing non-VMDK backing image ===
+
+QEMU X.Y.Z monitor - type 'help' for more information
+(qemu) qemu-io overlay "read 0 512"
+read failed: Invalid argument
+*** done