Statistics
| Branch: | Revision:

root / tests / qemu-iotests / 039.out @ 9a05feab

History | View | Annotate | Download (1.9 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 cluster 5 refcount=0 reference=1
16
ERROR OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=0
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
Repairing cluster 5 refcount=0 reference=1
28
The following inconsistencies were found and repaired:
29

    
30
    0 leaked clusters
31
    1 corruptions
32

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

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

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

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