mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 21:40:49 +00:00
c13de3b32f
This test exercises the block/crypto.c "luks" block driver .bdrv_measure() code. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20200221112522.1497712-5-stefanha@redhat.com> [mreitz: Renamed test from 282 to 288] Signed-off-by: Max Reitz <mreitz@redhat.com>
31 lines
851 B
Plaintext
31 lines
851 B
Plaintext
QA output created by 288
|
|
== measure 1G image file ==
|
|
|
|
required size: 1075810304
|
|
fully allocated size: 1075810304
|
|
|
|
== create 1G image file (size should be no greater than measured) ==
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
|
|
image file size in bytes: 1075810304
|
|
|
|
== modified 1G image file (size should be no greater than measured) ==
|
|
|
|
wrote 1024/1024 bytes at offset 65536
|
|
1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
image file size in bytes: 1075810304
|
|
|
|
== measure preallocation=falloc 1G image file ==
|
|
|
|
required size: 1075810304
|
|
fully allocated size: 1075810304
|
|
|
|
== measure with input image file ==
|
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
|
|
wrote 1024/1024 bytes at offset 65536
|
|
1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
required size: 1075810304
|
|
fully allocated size: 1075810304
|
|
*** done
|