]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r361223:
authorAlan Somers <asomers@FreeBSD.org>
Fri, 12 Jun 2020 20:11:25 +0000 (20:11 +0000)
committerAlan Somers <asomers@FreeBSD.org>
Fri, 12 Jun 2020 20:11:25 +0000 (20:11 +0000)
commit57386bdc56103453217a56fba91b9b59af029b34
tree13d67889e4816d16f682276a3b9260d21dc547d9
parent9b5082a69dd0d7fe1420d693f28574cc0f95ac90
MFC r361223:

fusefs: fix intermittency in some ENOENT tests

When a FUSE operation other than LOOKUP returns ENOENT, the kernel will
reclaim that vnode, resuling in a FUSE_FORGET being sent a short while
later.  Many of the ENOENT tests weren't expecting those FUSE_FORGET
operations.  They usually passed by luck since FUSE_FORGET is often delayed.
This commit adds appropriate expectations.
tests/sys/fs/fusefs/getattr.cc
tests/sys/fs/fusefs/open.cc
tests/sys/fs/fusefs/opendir.cc