Statistics
| Branch: | Revision:

root / tests / qemu-iotests / 039.out @ 058f8f16

History | View | Annotate | Download (2 kB)

1
QA output created by 039
2

    
3
== Checking that image is clean on shutdown ==
4
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 
5
wrote 512/512 bytes at offset 0
6
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
7
incompatible_features     0x0
8
No errors were found on the image.
9

    
10
== Creating a dirty image file ==
11
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 
12
wrote 512/512 bytes at offset 0
13
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
14
incompatible_features     0x1
15
ERROR OFLAG_COPIED: offset=8000000000050000 refcount=0
16
ERROR cluster 5 refcount=0 reference=1
17

    
18
2 errors were found on the image.
19
Data may be corrupted, or further writes to the image may corrupt it.
20

    
21
== Read-only access must still work ==
22
read 512/512 bytes at offset 0
23
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
24
incompatible_features     0x1
25

    
26
== Repairing the image file must succeed ==
27
ERROR OFLAG_COPIED: offset=8000000000050000 refcount=0
28
Repairing cluster 5 refcount=0 reference=1
29
The following inconsistencies were found and repaired:
30

    
31
    0 leaked clusters
32
    1 corruptions
33

    
34
Double checking the fixed image now...
35
No errors were found on the image.
36
incompatible_features     0x0
37

    
38
== Data should still be accessible after repair ==
39
read 512/512 bytes at offset 0
40
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
41

    
42
== Opening a dirty image read/write should repair it ==
43
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 
44
wrote 512/512 bytes at offset 0
45
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
46
incompatible_features     0x1
47
ERROR OFLAG_COPIED: offset=8000000000050000 refcount=0
48
Repairing cluster 5 refcount=0 reference=1
49
wrote 512/512 bytes at offset 0
50
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
51
incompatible_features     0x0
52

    
53
== Creating an image file with lazy_refcounts=off ==
54
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 
55
wrote 512/512 bytes at offset 0
56
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
57
incompatible_features     0x0
58
No errors were found on the image.
59
*** done