On Wed, 21 Aug 2019 16:53:27 +0100 Daniel P. Berrangé <berra...@redhat.com> wrote:
> 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. > > Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> > --- > tests/test-util-filemonitor.c | 43 +++++++++++++++++++++++++++-------- > 1 file changed, 34 insertions(+), 9 deletions(-) Tested-by: Cornelia Huck <coh...@redhat.com> I tried to review this patch, but I fear I'm out of my depth here :(