summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/group
diff options
context:
space:
mode:
authorJeff Cody <jcody@redhat.com>2014-03-28 11:42:25 -0400
committerStefan Hajnoczi <stefanha@redhat.com>2014-04-01 15:22:35 +0200
commit1e7226f70c9d944ae7f233b65fb4adda8f910dfe (patch)
treee223e85040d72d984871c24016a57f946725a892 /tests/qemu-iotests/group
parentf0dce23475b5af5da6b17b97c1765271307734b6 (diff)
downloadhqemu-1e7226f70c9d944ae7f233b65fb4adda8f910dfe.zip
hqemu-1e7226f70c9d944ae7f233b65fb4adda8f910dfe.tar.gz
block: vdi bounds check qemu-io tests
This test checks for proper bounds checking of some VDI input headers. The following is checked: 1. Max image size (1024TB) with the appropriate Blocks In Image value (0x3fffffff) is detected as valid. 2. Image size exceeding max (1024TB) is seen as invalid 3. Valid image size but with Blocks In Image value that is too small fails 4. Blocks In Image size exceeding max (0x3fffffff) is seen as invalid 5. 64MB image, with 64 Blocks In Image, and 1MB Block Size is seen as valid 6. Block Size < 1MB not supported 7. Block Size > 1MB not supported [Max Reitz <mreitz@redhat.com> pointed out that "1MB + 1" in the test case is wrong. Change to "1MB + 64KB" to match the 0x110000 value. --Stefan] Signed-off-by: Jeff Cody <jcody@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/group')
-rw-r--r--tests/qemu-iotests/group1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group
index ed44f35..c51640c 100644
--- a/tests/qemu-iotests/group
+++ b/tests/qemu-iotests/group
@@ -89,6 +89,7 @@
081 rw auto
082 rw auto quick
083 rw auto
+084 img auto
085 rw auto
086 rw auto quick
087 rw auto
OpenPOWER on IntegriCloud