2012-02-16 15:55:01 +00:00
|
|
|
QA output created by 031
|
|
|
|
|
2012-04-12 15:21:44 +00:00
|
|
|
===== Testing with -o compat=0.10 =====
|
|
|
|
|
2012-02-16 15:55:01 +00:00
|
|
|
=== Create image with unknown header extension ===
|
|
|
|
|
2014-12-09 07:38:03 +00:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2012-02-16 15:55:01 +00:00
|
|
|
magic 0x514649fb
|
|
|
|
version 2
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
2012-04-12 15:21:44 +00:00
|
|
|
incompatible_features 0x0
|
|
|
|
compatible_features 0x0
|
|
|
|
autoclear_features 0x0
|
|
|
|
refcount_order 4
|
|
|
|
header_length 72
|
2012-02-16 15:55:01 +00:00
|
|
|
|
|
|
|
Header extension:
|
|
|
|
magic 0x12345678
|
|
|
|
length 31
|
|
|
|
data 'This is a test header extension'
|
|
|
|
|
|
|
|
No errors were found on the image.
|
|
|
|
|
|
|
|
=== Rewrite header with no backing file ===
|
|
|
|
|
|
|
|
magic 0x514649fb
|
|
|
|
version 2
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
2012-04-12 15:21:44 +00:00
|
|
|
incompatible_features 0x0
|
|
|
|
compatible_features 0x0
|
|
|
|
autoclear_features 0x0
|
|
|
|
refcount_order 4
|
|
|
|
header_length 72
|
|
|
|
|
2012-02-16 15:55:01 +00:00
|
|
|
Header extension:
|
|
|
|
magic 0x12345678
|
|
|
|
length 31
|
|
|
|
data 'This is a test header extension'
|
|
|
|
|
|
|
|
No errors were found on the image.
|
|
|
|
|
|
|
|
=== Add a backing file and format ===
|
|
|
|
|
|
|
|
magic 0x514649fb
|
|
|
|
version 2
|
2015-12-02 18:11:04 +00:00
|
|
|
backing_file_offset 0x90
|
2012-04-12 15:21:44 +00:00
|
|
|
backing_file_size 0x17
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
|
|
|
incompatible_features 0x0
|
|
|
|
compatible_features 0x0
|
|
|
|
autoclear_features 0x0
|
|
|
|
refcount_order 4
|
|
|
|
header_length 72
|
|
|
|
|
|
|
|
Header extension:
|
|
|
|
magic 0xe2792aca
|
|
|
|
length 11
|
|
|
|
data 'host_device'
|
|
|
|
|
|
|
|
Header extension:
|
|
|
|
magic 0x12345678
|
|
|
|
length 31
|
|
|
|
data 'This is a test header extension'
|
|
|
|
|
|
|
|
|
|
|
|
===== Testing with -o compat=1.1 =====
|
|
|
|
|
|
|
|
=== Create image with unknown header extension ===
|
|
|
|
|
2014-12-09 07:38:03 +00:00
|
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
2012-04-12 15:21:44 +00:00
|
|
|
magic 0x514649fb
|
|
|
|
version 3
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
|
|
|
incompatible_features 0x0
|
|
|
|
compatible_features 0x0
|
|
|
|
autoclear_features 0x0
|
|
|
|
refcount_order 4
|
|
|
|
header_length 104
|
|
|
|
|
2015-12-02 17:34:39 +00:00
|
|
|
Header extension:
|
|
|
|
magic 0x6803f857
|
|
|
|
length 144
|
|
|
|
data <binary>
|
|
|
|
|
2012-04-12 15:21:44 +00:00
|
|
|
Header extension:
|
|
|
|
magic 0x12345678
|
|
|
|
length 31
|
|
|
|
data 'This is a test header extension'
|
|
|
|
|
|
|
|
No errors were found on the image.
|
|
|
|
|
|
|
|
=== Rewrite header with no backing file ===
|
|
|
|
|
|
|
|
magic 0x514649fb
|
|
|
|
version 3
|
|
|
|
backing_file_offset 0x0
|
|
|
|
backing_file_size 0x0
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
|
|
|
incompatible_features 0x0
|
|
|
|
compatible_features 0x0
|
|
|
|
autoclear_features 0x0
|
|
|
|
refcount_order 4
|
|
|
|
header_length 104
|
|
|
|
|
|
|
|
Header extension:
|
|
|
|
magic 0x6803f857
|
2013-08-30 12:34:24 +00:00
|
|
|
length 144
|
2012-07-27 08:05:19 +00:00
|
|
|
data <binary>
|
2012-04-12 15:21:44 +00:00
|
|
|
|
|
|
|
Header extension:
|
|
|
|
magic 0x12345678
|
|
|
|
length 31
|
|
|
|
data 'This is a test header extension'
|
|
|
|
|
|
|
|
No errors were found on the image.
|
|
|
|
|
|
|
|
=== Add a backing file and format ===
|
|
|
|
|
|
|
|
magic 0x514649fb
|
|
|
|
version 3
|
2013-08-30 12:34:24 +00:00
|
|
|
backing_file_offset 0x148
|
2012-02-16 15:55:01 +00:00
|
|
|
backing_file_size 0x17
|
|
|
|
cluster_bits 16
|
|
|
|
size 67108864
|
|
|
|
crypt_method 0
|
|
|
|
l1_size 1
|
|
|
|
l1_table_offset 0x30000
|
|
|
|
refcount_table_offset 0x10000
|
|
|
|
refcount_table_clusters 1
|
|
|
|
nb_snapshots 0
|
|
|
|
snapshot_offset 0x0
|
2012-04-12 15:21:44 +00:00
|
|
|
incompatible_features 0x0
|
|
|
|
compatible_features 0x0
|
|
|
|
autoclear_features 0x0
|
|
|
|
refcount_order 4
|
|
|
|
header_length 104
|
2012-02-16 15:55:01 +00:00
|
|
|
|
|
|
|
Header extension:
|
|
|
|
magic 0xe2792aca
|
|
|
|
length 11
|
|
|
|
data 'host_device'
|
|
|
|
|
2012-04-12 15:21:44 +00:00
|
|
|
Header extension:
|
|
|
|
magic 0x6803f857
|
2013-08-30 12:34:24 +00:00
|
|
|
length 144
|
2012-07-27 08:05:19 +00:00
|
|
|
data <binary>
|
2012-04-12 15:21:44 +00:00
|
|
|
|
2012-02-16 15:55:01 +00:00
|
|
|
Header extension:
|
|
|
|
magic 0x12345678
|
|
|
|
length 31
|
|
|
|
data 'This is a test header extension'
|
|
|
|
|
|
|
|
*** done
|