summaryrefslogtreecommitdiffstats
path: root/block/commit.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé2019-08-21 17:14:27 +0200
committerDaniel P. Berrangé2019-09-11 11:29:27 +0200
commitbf9e0313c27d8e6ecd7f7de3d63e1cb25d8f6311 (patch)
tree0b85369223872df173e2f3a9860e840363004db0 /block/commit.c
parentMerge remote-tracking branch 'remotes/huth-gitlab/tags/m68k-pull-2019-09-07' ... (diff)
downloadqemu-bf9e0313c27d8e6ecd7f7de3d63e1cb25d8f6311.tar.gz
qemu-bf9e0313c27d8e6ecd7f7de3d63e1cb25d8f6311.tar.xz
qemu-bf9e0313c27d8e6ecd7f7de3d63e1cb25d8f6311.zip
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 'block/commit.c')
0 files changed, 0 insertions, 0 deletions