qemu/tests/qemu-iotests
Alex Bennée 002375895c tests/iotests: be a little more forgiving on the size test
At least on ZFS this was failing as 512 was less than or equal to 512.
I suspect the reason is additional compression done by ZFS and however
qemu-img gets the actual size.

Loosen the criteria to make sure after is not bigger than before and
also dump the values in the report.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Robert Foley <robert.foley@linaro.org>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200225124710.14152-9-alex.bennee@linaro.org>
2020-02-25 20:20:09 +00:00
..
001
002
003
004
005
008
009
010
011
012
013
017
018
019
020
021
022
023
024
025
027
032
033
034
035
037
038
042
043
047
049
050
052
053
054
059
063
064
069
070
072
075
076
077
078
079
081
082
083
084
085
086
087
088
092
094
095
097
101
102
104
105
106
107
110
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
111
113
115
116
117
119
120
123
125
126
128
130
131
133
134
135
137
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
140
141
142
143
144
145
146
147
2020-02-20 16:43:42 +01:00
150
153
154
155
2020-02-18 11:55:40 +01:00
157
158
159
160
161
162
170
171
172
173
174
175
177
178
179
182
184
186
187
188
189
190
192
195
197
198
2020-01-06 13:43:07 +01:00
2020-01-06 13:43:07 +01:00
204
215
221
222
2020-02-07 15:15:16 +01:00
225
226
227
229
231
232
233
239
240
241
245
2020-02-07 15:15:16 +01:00
247
249
251
252
253
263
265
268
270
272
279
2020-02-20 16:43:42 +01:00
286
2020-02-20 16:43:42 +01:00
2020-02-18 11:55:41 +01:00

=== This is the QEMU I/O test suite ===

* Intro

This package contains a simple test suite for the I/O layer of qemu.
It does not require a guest, but only the qemu, qemu-img and qemu-io
binaries.  This does limit it to exercise the low-level I/O path only
but no actual block drivers like ide, scsi or virtio.

* Usage

Just run ./check to run all tests for the raw image format, or ./check
-qcow2 to test the qcow2 image format.  The output of ./check -h explains
additional options to test further image formats or I/O methods.

* Feedback and patches

Please send improvements to the test suite, general feedback or just
reports of failing tests cases to qemu-devel@nongnu.org with a CC:
to qemu-block@nongnu.org.