031.out (5556B)
1 QA output created by 031 2 3 ===== Testing with -o compat=0.10 ===== 4 5 === Create image with unknown header extension === 6 7 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 8 magic 0x514649fb 9 version 2 10 backing_file_offset 0x0 11 backing_file_size 0x0 12 cluster_bits 16 13 size 67108864 14 crypt_method 0 15 l1_size 1 16 l1_table_offset 0x30000 17 refcount_table_offset 0x10000 18 refcount_table_clusters 1 19 nb_snapshots 0 20 snapshot_offset 0x0 21 incompatible_features [] 22 compatible_features [] 23 autoclear_features [] 24 refcount_order 4 25 header_length 72 26 27 Header extension: 28 magic 0x12345678 (<unknown>) 29 length 31 30 data 'This is a test header extension' 31 32 No errors were found on the image. 33 34 === Rewrite header with no backing file === 35 36 magic 0x514649fb 37 version 2 38 backing_file_offset 0x0 39 backing_file_size 0x0 40 cluster_bits 16 41 size 67108864 42 crypt_method 0 43 l1_size 1 44 l1_table_offset 0x30000 45 refcount_table_offset 0x10000 46 refcount_table_clusters 1 47 nb_snapshots 0 48 snapshot_offset 0x0 49 incompatible_features [] 50 compatible_features [] 51 autoclear_features [] 52 refcount_order 4 53 header_length 72 54 55 Header extension: 56 magic 0x12345678 (<unknown>) 57 length 31 58 data 'This is a test header extension' 59 60 No errors were found on the image. 61 62 === Add a backing file and format === 63 64 magic 0x514649fb 65 version 2 66 backing_file_offset 0x90 67 backing_file_size 0x17 68 cluster_bits 16 69 size 67108864 70 crypt_method 0 71 l1_size 1 72 l1_table_offset 0x30000 73 refcount_table_offset 0x10000 74 refcount_table_clusters 1 75 nb_snapshots 0 76 snapshot_offset 0x0 77 incompatible_features [] 78 compatible_features [] 79 autoclear_features [] 80 refcount_order 4 81 header_length 72 82 83 Header extension: 84 magic 0xe2792aca (Backing format) 85 length 11 86 data 'host_device' 87 88 Header extension: 89 magic 0x12345678 (<unknown>) 90 length 31 91 data 'This is a test header extension' 92 93 94 ===== Testing with -o compat=1.1 ===== 95 96 === Create image with unknown header extension === 97 98 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 99 magic 0x514649fb 100 version 3 101 backing_file_offset 0x0 102 backing_file_size 0x0 103 cluster_bits 16 104 size 67108864 105 crypt_method 0 106 l1_size 1 107 l1_table_offset 0x30000 108 refcount_table_offset 0x10000 109 refcount_table_clusters 1 110 nb_snapshots 0 111 snapshot_offset 0x0 112 incompatible_features [] 113 compatible_features [] 114 autoclear_features [] 115 refcount_order 4 116 header_length 112 117 118 Header extension: 119 magic 0x6803f857 (Feature table) 120 length 384 121 data <binary> 122 123 Header extension: 124 magic 0x12345678 (<unknown>) 125 length 31 126 data 'This is a test header extension' 127 128 No errors were found on the image. 129 130 === Rewrite header with no backing file === 131 132 magic 0x514649fb 133 version 3 134 backing_file_offset 0x0 135 backing_file_size 0x0 136 cluster_bits 16 137 size 67108864 138 crypt_method 0 139 l1_size 1 140 l1_table_offset 0x30000 141 refcount_table_offset 0x10000 142 refcount_table_clusters 1 143 nb_snapshots 0 144 snapshot_offset 0x0 145 incompatible_features [] 146 compatible_features [] 147 autoclear_features [] 148 refcount_order 4 149 header_length 112 150 151 Header extension: 152 magic 0x6803f857 (Feature table) 153 length 384 154 data <binary> 155 156 Header extension: 157 magic 0x12345678 (<unknown>) 158 length 31 159 data 'This is a test header extension' 160 161 No errors were found on the image. 162 163 === Add a backing file and format === 164 165 magic 0x514649fb 166 version 3 167 backing_file_offset 0x240 168 backing_file_size 0x17 169 cluster_bits 16 170 size 67108864 171 crypt_method 0 172 l1_size 1 173 l1_table_offset 0x30000 174 refcount_table_offset 0x10000 175 refcount_table_clusters 1 176 nb_snapshots 0 177 snapshot_offset 0x0 178 incompatible_features [] 179 compatible_features [] 180 autoclear_features [] 181 refcount_order 4 182 header_length 112 183 184 Header extension: 185 magic 0xe2792aca (Backing format) 186 length 11 187 data 'host_device' 188 189 Header extension: 190 magic 0x6803f857 (Feature table) 191 length 384 192 data <binary> 193 194 Header extension: 195 magic 0x12345678 (<unknown>) 196 length 31 197 data 'This is a test header extension' 198 199 *** done