aboutsummaryrefslogtreecommitdiffstats
path: root/example/passthrough_hp.cc
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2021-06-09 19:32:46 +0300
committerNikolaus Rath <Nikolaus@rath.org>2021-06-14 09:13:12 +0100
commit10ecd4fda404f3403e571a7dbfe6bb295d0f208b (patch)
tree20a4450ecd0189e1f282cd8dd9450061c691ed21 /example/passthrough_hp.cc
parent494e15127c67a673779fa2f05c08abe6901f88c5 (diff)
downloadlibfuse-10ecd4fda404f3403e571a7dbfe6bb295d0f208b.tar.gz
test/test_syscalls.c: check unlinked testfiles at the end of the test
On some tests on regular files, open an O_PATH fd of the testfile and record it along side the size and mode and inode. At the end of all tests, use recorded testfiles info to re-check the size mode and inode of the unlinked testfiles. With O_PATH fd, the server does not have to keep the inode alive so FUSE inode may be stale or bad. Therefore, ESTALE and EIO are valid results for fstat() on the old testfile fd's, but returning the wrong size or mode is an invalid result. Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'example/passthrough_hp.cc')
0 files changed, 0 insertions, 0 deletions