diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/qemu-iotests/197 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/qemu-iotests/197 b/tests/qemu-iotests/197 index 95f05b0..121959a 100755 --- a/tests/qemu-iotests/197 +++ b/tests/qemu-iotests/197 @@ -112,7 +112,9 @@ echo echo '=== Partial final cluster ===' echo -_make_test_img 1024 +# Force compat=1.1, because writing zeroes on a v2 image without a +# backing file would just result in an unallocated cluster +_make_test_img -o compat=1.1 1024 $QEMU_IO -f $IMGFMT -C -c 'read 0 1024' "$TEST_IMG" | _filter_qemu_io $QEMU_IO -f $IMGFMT -c map "$TEST_IMG" _check_test_img |