blob: 807e0530c3dc19cdb64dd1d60d32bb139a25522a [file] [log] [blame]
QA output created by 292
### Create the backing image
Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=1048576
### Fill the backing image with data (0x11)
wrote 1048576/1048576 bytes at offset 0
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
### Create the top image
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
### Fill the top image with data (0x22)
wrote 1048576/1048576 bytes at offset 0
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
### Shrink the image to 520k
Image resized.
### Grow the image to 567k
Image resized.
### Check that the tail of the image reads as zeroes
read 532480/532480 bytes at offset 0
520 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
read 48128/48128 bytes at offset 532480
47 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
### Show output of qemu-img map
Offset Length Mapped to File
0 0x8dc00 0x50000 TEST_DIR/t.qcow2
*** done