summary refs log tree commit diff stats
path: root/scripts
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 /scripts
parente0b371ed5e2db079051139136fd0478728b6a58f (diff)
downloadfocaccia-qemu-c6a9d2f6f9bc0c163b3a3073126464a2446bad5f.tar.gz
focaccia-qemu-c6a9d2f6f9bc0c163b3a3073126464a2446bad5f.zip
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 'scripts')
0 files changed, 0 insertions, 0 deletions