mirror of
https://github.com/qemu/qemu.git
synced 2024-12-01 15:53:35 +08:00
e06f4639d8
Not updating src_offset will result in wrong data being written to dst image. Reported-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
23 lines
1.0 KiB
Plaintext
23 lines
1.0 KiB
Plaintext
QA output created by 063
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4194304
|
|
== Testing conversion with -n fails with no target file ==
|
|
== Testing conversion with -n succeeds with a target file ==
|
|
== Testing conversion to raw is the same after conversion with -n ==
|
|
== Testing conversion back to original format ==
|
|
No errors were found on the image.
|
|
== Testing conversion to a smaller file fails ==
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=2097152
|
|
== Regression testing for copy offloading bug ==
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576
|
|
Formatting 'TEST_DIR/t.IMGFMT.target', fmt=IMGFMT size=1048576
|
|
wrote 524288/524288 bytes at offset 0
|
|
512 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 524288/524288 bytes at offset 524288
|
|
512 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 524288/524288 bytes at offset 524288
|
|
512 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 524288/524288 bytes at offset 0
|
|
512 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
Images are identical.
|
|
*** done
|