aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/109
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-05-16 10:43:02 -0600
committerMax Reitz <mreitz@redhat.com>2016-05-19 16:56:58 +0200
commit9e28bb26c243c2c0ec96a900611f0658a0665b43 (patch)
tree9ad29ecfdabccbfaea7aa01d91fa9ee315176f28 /tests/qemu-iotests/109
parent4ca1d3401b834662efddd12bd62ad80f5ef1ef05 (diff)
qemu-iotests: Simplify 109 with unaligned qemu-img compare
For some time now, qemu-img compare has been able to compare unaligned images. So we no longer need test 109's hack of resizing to sector boundaries before invoking compare. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-id: 1463416983-28318-3-git-send-email-eblake@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/109')
-rwxr-xr-xtests/qemu-iotests/1092
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/qemu-iotests/109 b/tests/qemu-iotests/109
index f980b0c9e5..adf98892f0 100755
--- a/tests/qemu-iotests/109
+++ b/tests/qemu-iotests/109
@@ -104,8 +104,6 @@ for sample_img in empty.bochs iotest-dirtylog-10G-4M.vhdx parallels-v1 \
$QEMU_IO -c 'read -P 0 0 64k' "$TEST_IMG" | _filter_qemu_io
run_qemu "$TEST_IMG" "$TEST_IMG.src" "'format': 'raw'," "BLOCK_JOB_READY"
- # qemu-img compare can't handle unaligned file sizes
- $QEMU_IMG resize -f raw "$TEST_IMG.src" +0
$QEMU_IMG compare -f raw -F raw "$TEST_IMG" "$TEST_IMG.src"
done