aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/group
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2018-06-11 16:39:27 -0500
committerKevin Wolf <kwolf@redhat.com>2018-06-15 14:49:44 +0200
commitc6a9d2f6f9bc0c163b3a3073126464a2446bad5f (patch)
tree2babf9bc80288df34290cb7c9897f2daf027b032 /tests/qemu-iotests/group
parente0b371ed5e2db079051139136fd0478728b6a58f (diff)
iotests: Add test 221 to catch qemu-img map regression
Although qemu-img creates aligned files (by rounding up), it must also gracefully handle files that are not sector-aligned. Test that the bug fixed in the previous patch does not recur. It's a bit annoying that we can see the (implicit) hole past the end of the file on to the next sector boundary, so if we ever reach the point where we report a byte-accurate size rather than our current behavior of always rounding up, this test will probably need a slight modification. Signed-off-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@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 0914c922d7..937a3d0a4d 100644
--- a/tests/qemu-iotests/group
+++ b/tests/qemu-iotests/group
@@ -218,3 +218,4 @@
217 rw auto quick
218 rw auto quick
219 rw auto
+221 rw auto quick