Message ID | 20200710163549.1202360-1-eblake@redhat.com |
---|---|
State | New |
Headers | show |
Series | fixup! qemu-img: Deprecate use of -b without -F | expand |
diff --git a/tests/qemu-iotests/114 b/tests/qemu-iotests/114 index 143683381334..d0609c499388 100755 --- a/tests/qemu-iotests/114 +++ b/tests/qemu-iotests/114 @@ -45,7 +45,7 @@ _unsupported_imgopts data_file # Intentionally specify backing file without backing format; demonstrate # the difference in warning messages when backing file could be probed. # Note that only a non-raw probe result will affect the resulting image. -truncate --size=64M "$TEST_IMG.orig" +truncate -s $((64 * 1024 * 1024)) "$TEST_IMG.orig" _make_test_img -b "$TEST_IMG.orig" 64M TEST_IMG="$TEST_IMG.base" _make_test_img 64M
Port to BSD truncate. Signed-off-by: Eric Blake <eblake@redhat.com> --- tests/qemu-iotests/114 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)