e930d201bc
Simple test for qemu-img compare to check it's working correctly. Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
32 lines
992 B
Plaintext
32 lines
992 B
Plaintext
QA output created by 048
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
|
|
=== IO: pattern 45
|
|
qemu-io> wrote 4096/4096 bytes at offset 524288
|
|
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
qemu-io> wrote 4096/4096 bytes at offset 528384
|
|
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
qemu-io> wrote 4096/4096 bytes at offset 532480
|
|
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
qemu-io> wrote 4096/4096 bytes at offset 536576
|
|
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
qemu-io> Images are identical.
|
|
0
|
|
0
|
|
Image resized.
|
|
Warning: Image size mismatch!
|
|
Images are identical.
|
|
0
|
|
Strict mode: Image size mismatch!
|
|
1
|
|
=== IO: pattern 67
|
|
qemu-io> wrote 4096/4096 bytes at offset 1228800
|
|
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
qemu-io> Content mismatch at offset 1228800!
|
|
1
|
|
=== IO: pattern 123
|
|
qemu-io> wrote 4096/4096 bytes at offset 0
|
|
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
qemu-io> Content mismatch at offset 0!
|
|
1
|
|
Cleanup
|