aboutsummaryrefslogtreecommitdiff
path: root/hw/audio
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2019-08-21 16:14:27 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2019-09-11 10:29:27 +0100
commitbf9e0313c27d8e6ecd7f7de3d63e1cb25d8f6311 (patch)
tree0b85369223872df173e2f3a9860e840363004db0 /hw/audio
parent89ea03a7dc83ca36b670ba7f787802791fcb04b1 (diff)
tests: make filemonitor test more robust to event ordering
The ordering of events that are emitted during the rmdir test have changed with kernel >= 5.3. Semantically both new & old orderings are correct, so we must be able to cope with either. To cope with this, when we see an unexpected event, we push it back onto the queue and look and the subsequent event to see if that matches instead. Tested-by: Peter Xu <peterx@redhat.com> Tested-by: Wei Yang <richardw.yang@linux.intel.com> Tested-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'hw/audio')
0 files changed, 0 insertions, 0 deletions