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