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