diff options
author | Fam Zheng <famz@redhat.com> | 2014-01-21 15:07:43 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-01-24 14:33:00 +0100 |
commit | 34ceed81f9ca31829448276dafe3d9151d66962c (patch) | |
tree | ec261752eeef0b69139325ebfe4149435c0d7f8b /tests/qemu-iotests/059.out | |
parent | 46bae927134468d27f5e2508c3ced67ff58fa45b (diff) |
vmdk: Check for overhead when opening
Report an error if file size is even smaller than metadata.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/059.out')
-rw-r--r-- | tests/qemu-iotests/059.out | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/qemu-iotests/059.out b/tests/qemu-iotests/059.out index 5e30e69bef..4ffeb54710 100644 --- a/tests/qemu-iotests/059.out +++ b/tests/qemu-iotests/059.out @@ -2043,6 +2043,11 @@ qemu-img: Could not open 'TEST_DIR/t.IMGFMT': Invalid extent lines: RW 12582912 VMFS "dummy.IMGFMT" 1 +=== Testing truncated sparse === +Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=107374182400 +qemu-img: File truncated, expecting at least 13172736 bytes +qemu-img: Could not open 'TEST_DIR/t.IMGFMT': Could not open 'TEST_DIR/t.IMGFMT': Wrong medium type + === Testing version 3 === image: TEST_DIR/iotest-version3.IMGFMT file format: IMGFMT |