2014-03-26 16:05:24 +04:00
|
|
|
QA output created by 075
|
|
|
|
|
|
|
|
== check that the first sector can be read ==
|
|
|
|
read 512/512 bytes at offset 0
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
2014-03-26 16:05:25 +04:00
|
|
|
|
2014-03-26 16:05:29 +04:00
|
|
|
== check that the last sector can be read ==
|
|
|
|
read 512/512 bytes at offset 1048064
|
|
|
|
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
|
2014-03-26 16:05:25 +04:00
|
|
|
== block_size must be a multiple of 512 ==
|
2019-04-28 18:54:44 +03:00
|
|
|
qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 513 must be a multiple of 512
|
2014-03-26 16:05:25 +04:00
|
|
|
|
|
|
|
== block_size cannot be zero ==
|
2019-04-28 18:54:44 +03:00
|
|
|
qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size cannot be zero
|
2014-03-26 16:05:25 +04:00
|
|
|
|
|
|
|
== huge block_size ===
|
2019-04-28 18:54:44 +03:00
|
|
|
qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 4294966784 must be 64 MB or less
|
2014-03-26 16:05:26 +04:00
|
|
|
|
|
|
|
== offsets_size overflow ===
|
2019-04-28 18:54:44 +03:00
|
|
|
qemu-io: can't open device TEST_DIR/simple-pattern.cloop: n_blocks 4294967295 must be 536870911 or less
|
2014-03-26 16:05:27 +04:00
|
|
|
|
|
|
|
== refuse images that require too many offsets ===
|
2019-04-28 18:54:44 +03:00
|
|
|
qemu-io: can't open device TEST_DIR/simple-pattern.cloop: image requires too many offsets, try increasing block size
|
2014-03-26 16:05:28 +04:00
|
|
|
|
|
|
|
== refuse images with non-monotonically increasing offsets ==
|
2019-04-28 18:54:44 +03:00
|
|
|
qemu-io: can't open device TEST_DIR/simple-pattern.cloop: offsets not monotonically increasing at index 1, image file is corrupt
|
2014-03-26 16:05:28 +04:00
|
|
|
|
|
|
|
== refuse images with invalid compressed block size ==
|
2019-04-28 18:54:44 +03:00
|
|
|
qemu-io: can't open device TEST_DIR/simple-pattern.cloop: invalid compressed block size at index 1, image file is corrupt
|
2014-03-26 16:05:24 +04:00
|
|
|
*** done
|