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 ==
|
|
|
|
qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 513 must be a multiple of 512
|
|
|
|
no file open, try 'help open'
|
|
|
|
|
|
|
|
== block_size cannot be zero ==
|
|
|
|
qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size cannot be zero
|
|
|
|
no file open, try 'help open'
|
|
|
|
|
|
|
|
== huge block_size ===
|
|
|
|
qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 4294966784 must be 64 MB or less
|
|
|
|
no file open, try 'help open'
|
2014-03-26 16:05:26 +04:00
|
|
|
|
|
|
|
== offsets_size overflow ===
|
|
|
|
qemu-io: can't open device TEST_DIR/simple-pattern.cloop: n_blocks 4294967295 must be 536870911 or less
|
|
|
|
no file open, try 'help open'
|
2014-03-26 16:05:27 +04:00
|
|
|
|
|
|
|
== refuse images that require too many offsets ===
|
|
|
|
qemu-io: can't open device TEST_DIR/simple-pattern.cloop: image requires too many offsets, try increasing block size
|
|
|
|
no file open, try 'help open'
|
2014-03-26 16:05:28 +04:00
|
|
|
|
|
|
|
== refuse images with non-monotonically increasing offsets ==
|
|
|
|
qemu-io: can't open device TEST_DIR/simple-pattern.cloop: offsets not monotonically increasing at index 1, image file is corrupt
|
|
|
|
no file open, try 'help open'
|
|
|
|
|
|
|
|
== refuse images with invalid compressed block size ==
|
|
|
|
qemu-io: can't open device TEST_DIR/simple-pattern.cloop: invalid compressed block size at index 1, image file is corrupt
|
|
|
|
no file open, try 'help open'
|
2014-03-26 16:05:24 +04:00
|
|
|
*** done
|