]> Git Repo - qemu.git/commitdiff
qemu-iotests: qemu-img info on afl VMDK image with a huge capacity
authorFam Zheng <[email protected]>
Fri, 15 May 2015 08:36:06 +0000 (16:36 +0800)
committerKevin Wolf <[email protected]>
Fri, 22 May 2015 15:08:01 +0000 (17:08 +0200)
The image is contributed by Richard W.M. Jones.

Cc: Richard W.M. Jones <[email protected]>
Signed-off-by: Fam Zheng <[email protected]>
Reviewed-by: Alberto Garcia <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
tests/qemu-iotests/059
tests/qemu-iotests/059.out
tests/qemu-iotests/sample_images/afl9.vmdk.bz2 [new file with mode: 0644]

index 50ca5ce681d58b890ce83bbc164fdb62a9de3c15..0ded0c3da4fb0d81dc243e3339d693cd2ddf84a0 100755 (executable)
@@ -132,6 +132,11 @@ _img_info
 $QEMU_IO -c "write -P 0xa 900G 512" "$TEST_IMG" | _filter_qemu_io
 $QEMU_IO -c "read -v 900G 1024" "$TEST_IMG" | _filter_qemu_io
 
+echo
+echo "=== Testing afl image with a very large capacity ==="
+_use_sample_img afl9.vmdk.bz2
+_img_info
+
 # success, all done
 echo "*** done"
 rm -f $seq.full
index cbb0de42543a5a9ddc0bbd169d509be6d6433abf..67e3cf57e4b45ff0a5e3f09e2c6ec06695811611 100644 (file)
@@ -2336,4 +2336,7 @@ e1000003e0:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 e1000003f0:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 read 1024/1024 bytes at offset 966367641600
 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+
+=== Testing afl image with a very large capacity ===
+qemu-img: Can't get size of device 'image': File too large
 *** done
diff --git a/tests/qemu-iotests/sample_images/afl9.vmdk.bz2 b/tests/qemu-iotests/sample_images/afl9.vmdk.bz2
new file mode 100644 (file)
index 0000000..03615d3
Binary files /dev/null and b/tests/qemu-iotests/sample_images/afl9.vmdk.bz2 differ
This page took 0.030841 seconds and 4 git commands to generate.