1 QA output created by 171
3 == test 'offset' option ==
4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4096
7 wrote 3584/3584 bytes at offset 0
8 3.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
11 read 3584/3584 bytes at offset 0
12 3.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
14 check that offset is respected
15 000001fe: 00 00 0a 0a ....
16 read 4/4 bytes at offset 510
17 4 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
19 write before image boundary
20 wrote 1/1 bytes at offset 3583
21 1 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
23 write across image boundary
24 write failed: Input/output error
26 write at image boundary
27 write failed: Input/output error
29 write after image boundary
30 write failed: Input/output error
32 writev before/after image boundary
33 writev failed: Input/output error
35 read before image boundary
36 read 1/1 bytes at offset 3583
37 1 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
39 read across image boundary
40 read failed: Input/output error
42 read at image boundary
43 read failed: Input/output error
45 read after image boundary
46 read failed: Input/output error
48 readv before/after image boundary
49 readv failed: Input/output error
51 fill image with pattern
52 wrote 4096/4096 bytes at offset 0
53 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
55 write zeroes and check
56 wrote 512/512 bytes at offset 0
57 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
58 000001fe: 0a 0a 00 00 ....
59 read 4/4 bytes at offset 510
60 4 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
62 write zeroes across image boundary
63 write failed: Input/output error
65 write zeroes at image boundary and check
66 wrote 2/2 bytes at offset 3582
67 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
69 read 2/2 bytes at offset 4094
70 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
71 read failed: Input/output error
73 fill image with pattern
74 wrote 4096/4096 bytes at offset 0
75 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
78 discard 512/512 bytes at offset 0
79 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
80 000001fe: 0a 0a 00 00 ....
81 read 4/4 bytes at offset 510
82 4 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
84 discard across image boundary
85 discard failed: Input/output error
87 discard at image boundary and check
88 discard 2/2 bytes at offset 3582
89 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
91 read 2/2 bytes at offset 4094
92 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
93 read failed: Input/output error
95 == test 'offset' and 'size' options ==
96 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4096
99 wrote 2048/2048 bytes at offset 0
100 2 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
103 read 2048/2048 bytes at offset 0
104 2 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
106 check that offset is respected
107 000001fe: 00 00 0a 0a ....
108 read 4/4 bytes at offset 510
109 4 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
111 write before image boundary
112 wrote 1/1 bytes at offset 2047
113 1 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
115 write across image boundary
116 write failed: Input/output error
118 write at image boundary
119 write failed: Input/output error
121 write after image boundary
122 write failed: Input/output error
124 writev before/after image boundary
125 writev failed: Input/output error
127 read before image boundary
128 read 1/1 bytes at offset 2047
129 1 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
131 read across image boundary
132 read failed: Input/output error
134 read at image boundary
135 read failed: Input/output error
137 read after image boundary
138 read failed: Input/output error
140 readv before/after image boundary
141 readv failed: Input/output error
143 fill image with pattern
144 wrote 4096/4096 bytes at offset 0
145 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
147 write zeroes and check
148 wrote 512/512 bytes at offset 0
149 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
150 000001fe: 0a 0a 00 00 ....
151 read 4/4 bytes at offset 510
152 4 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
154 write zeroes across image boundary
155 write failed: Input/output error
157 write zeroes at image boundary and check
158 wrote 2/2 bytes at offset 2046
159 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
161 read 2/2 bytes at offset 2558
162 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
164 read 2/2 bytes at offset 2560
165 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
167 fill image with pattern
168 wrote 4096/4096 bytes at offset 0
169 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
172 discard 512/512 bytes at offset 0
173 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
174 000001fe: 0a 0a 00 00 ....
175 read 4/4 bytes at offset 510
176 4 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
178 discard across image boundary
179 discard failed: Input/output error
181 discard at image boundary and check
182 discard 2/2 bytes at offset 2046
183 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
185 read 2/2 bytes at offset 2558
186 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
188 read 2/2 bytes at offset 2560
189 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
191 == test misaligned 'offset' ==
192 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4096
195 wrote 2048/2048 bytes at offset 0
196 2 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
199 read 2048/2048 bytes at offset 0
200 2 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
202 check that offset is respected
203 00000008: 00 00 0a 0a ....
204 read 4/4 bytes at offset 8
205 4 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
207 write before image boundary
208 wrote 1/1 bytes at offset 2047
209 1 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
211 write across image boundary
212 write failed: Input/output error
214 write at image boundary
215 write failed: Input/output error
217 write after image boundary
218 write failed: Input/output error
220 writev before/after image boundary
221 writev failed: Input/output error
223 read before image boundary
224 read 1/1 bytes at offset 2047
225 1 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
227 read across image boundary
228 read failed: Input/output error
230 read at image boundary
231 read failed: Input/output error
233 read after image boundary
234 read failed: Input/output error
236 readv before/after image boundary
237 readv failed: Input/output error
239 fill image with pattern
240 wrote 4096/4096 bytes at offset 0
241 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
243 write zeroes and check
244 wrote 512/512 bytes at offset 0
245 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
246 00000008: 0a 0a 00 00 ....
247 read 4/4 bytes at offset 8
248 4 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
250 write zeroes across image boundary
251 write failed: Input/output error
253 write zeroes at image boundary and check
254 wrote 2/2 bytes at offset 2046
255 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
257 read 2/2 bytes at offset 2056
258 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
260 read 2/2 bytes at offset 2058
261 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
263 fill image with pattern
264 wrote 4096/4096 bytes at offset 0
265 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
268 discard 512/512 bytes at offset 0
269 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
270 00000008: 0a 0a 00 00 ....
271 read 4/4 bytes at offset 8
272 4 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
274 discard across image boundary
275 discard failed: Input/output error
277 discard at image boundary and check
278 discard 2/2 bytes at offset 2046
279 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
281 read 2/2 bytes at offset 2056
282 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
284 read 2/2 bytes at offset 2058
285 2 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
288 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4096
289 wrote 512/512 bytes at offset 0
290 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
291 wrote 1/1 bytes at offset 511
292 1 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
293 write failed: Input/output error
294 wrote 1024/1024 bytes at offset 0
295 1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
296 wrote 1/1 bytes at offset 1023
297 1 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
298 write failed: Input/output error
300 000001fe: 00 00 0a 0a ....
301 read 4/4 bytes at offset 510
302 4 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
303 000003fe: 0a 0a 00 00 ....
304 read 4/4 bytes at offset 1022
305 4 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
306 000005fe: 00 00 0a 0a ....
307 read 4/4 bytes at offset 1534
308 4 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
309 000009fe: 0a 0a 00 00 ....
310 read 4/4 bytes at offset 2558
311 4 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)