]>
Commit | Line | Data |
---|---|---|
f394f1fe KW |
1 | QA output created by 031 |
2 | ||
3 | === Create image with unknown header extension === | |
4 | ||
5 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 cluster_size=65536 | |
6 | magic 0x514649fb | |
7 | version 2 | |
8 | backing_file_offset 0x0 | |
9 | backing_file_size 0x0 | |
10 | cluster_bits 16 | |
11 | size 67108864 | |
12 | crypt_method 0 | |
13 | l1_size 1 | |
14 | l1_table_offset 0x30000 | |
15 | refcount_table_offset 0x10000 | |
16 | refcount_table_clusters 1 | |
17 | nb_snapshots 0 | |
18 | snapshot_offset 0x0 | |
19 | ||
20 | Header extension: | |
21 | magic 0x12345678 | |
22 | length 31 | |
23 | data 'This is a test header extension' | |
24 | ||
25 | No errors were found on the image. | |
26 | ||
27 | === Rewrite header with no backing file === | |
28 | ||
29 | magic 0x514649fb | |
30 | version 2 | |
31 | backing_file_offset 0x0 | |
32 | backing_file_size 0x0 | |
33 | cluster_bits 16 | |
34 | size 67108864 | |
35 | crypt_method 0 | |
36 | l1_size 1 | |
37 | l1_table_offset 0x30000 | |
38 | refcount_table_offset 0x10000 | |
39 | refcount_table_clusters 1 | |
40 | nb_snapshots 0 | |
41 | snapshot_offset 0x0 | |
42 | ||
43 | Header extension: | |
44 | magic 0x12345678 | |
45 | length 31 | |
46 | data 'This is a test header extension' | |
47 | ||
48 | No errors were found on the image. | |
49 | ||
50 | === Add a backing file and format === | |
51 | ||
52 | magic 0x514649fb | |
53 | version 2 | |
54 | backing_file_offset 0x90 | |
55 | backing_file_size 0x17 | |
56 | cluster_bits 16 | |
57 | size 67108864 | |
58 | crypt_method 0 | |
59 | l1_size 1 | |
60 | l1_table_offset 0x30000 | |
61 | refcount_table_offset 0x10000 | |
62 | refcount_table_clusters 1 | |
63 | nb_snapshots 0 | |
64 | snapshot_offset 0x0 | |
65 | ||
66 | Header extension: | |
67 | magic 0xe2792aca | |
68 | length 11 | |
69 | data 'host_device' | |
70 | ||
71 | Header extension: | |
72 | magic 0x12345678 | |
73 | length 31 | |
74 | data 'This is a test header extension' | |
75 | ||
76 | *** done |