qemu-e2k/tests/qemu-iotests
Hanna Reitz d5699c0d4b iotests: Fix status checks
An iotest's 'paused' condition is fickle; it will be reported as true
whenever the job is drained, for example, or when it is in the process
of completing.

030 and 041 contain such checks, we should replace them by checking the
job status instead.  (As was done for 129 in commit f9a6256b48f29c2816
for the 'busy' condition.)

Additionally, when we want to test that a job is paused on error, we
might want to give it some time to actually switch to the paused state.
Do that by waiting on the corresponding JOB_STATUS_CHANGE event.  (But
only if they are not already paused; the loops these places are in fetch
all VM events, so they may have already fetched that event from the
queue.)

Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220324180221.24508-1-hreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2022-03-29 16:30:55 +02:00
..
001
002
003
004
005
007
008
009
010
011
012
013
014
015
017
018
019
020
021
022
023
024
026
029
030
2022-03-29 16:30:55 +02:00
032
033
034
035
037
038
041
2022-03-29 16:30:55 +02:00
042
043
044
2022-02-01 10:51:39 +01:00
045
046
047
048
049
050
2021-10-15 16:06:23 +02:00
052
053
054
055
056
057
058
063
073
075
076
077
078
079
080
081
082
083
086
087
088
092
093
096
101
104
109
114
116
118
124
128
130
131
132
133
134
136
137
2022-02-01 10:51:39 +01:00
139
2021-12-28 15:18:59 +01:00
145
147
148
149
2022-03-22 10:14:37 +01:00
151
152
154
155
157
158
159
160
161
170
171
172
174
175
177
178
179
181
183
184
185
2022-03-04 18:14:40 +01:00
2022-03-04 18:14:40 +01:00
186
187
188
189
190
191
195
197
198
201
204
205
206
2021-11-23 15:39:12 +01:00
207
2022-03-22 10:50:10 +01:00
2022-03-22 10:50:10 +01:00
208
209
2022-02-01 10:51:39 +01:00
2021-11-23 15:39:12 +01:00
211
2022-03-22 10:14:34 +01:00
2022-03-22 10:14:34 +01:00
212
213
214
2022-02-01 10:51:39 +01:00
215
217
219
220
221
223
226
227
232
236
238
239
240
243
244
247
248
249
253
256
263
264
265
267
268
270
272
273
2022-01-14 12:03:16 +01:00
277
279
282
283
2021-12-28 15:18:59 +01:00
2021-12-28 15:18:59 +01:00
284
286
288
289
292
293
294
295
297
2021-11-01 11:54:59 -04:00
298
299
301
302
2022-02-01 10:51:39 +01:00
2022-02-01 10:51:39 +01:00
2022-02-01 10:51:39 +01:00
304
305
307
308
2022-01-14 12:03:16 +01:00
2022-01-14 12:03:16 +01:00
312
313

=== 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.