diff options
| author | Jakob Unterwurzacher | 2026-10-22 20:50:44 +0200 |
|---|---|---|
| committer | Jakob Unterwurzacher | 2026-10-22 20:51:10 +0200 |
| commit | c30f9889e6e6bdef5ae4e6b36cace286867c603a (patch) | |
| tree | 0dbac188982b7738d884b39a435e65cae6443a8c /tests/test_helpers | |
| parent | 09d34d16ab35f559e3dd80b6cbfffd3a2d5534be (diff) | |
tests: allow one fd for go-fuse splicing
Latest go-fuse (see next commit) uses one fd internally for splicing.
Diffstat (limited to 'tests/test_helpers')
| -rw-r--r-- | tests/test_helpers/mount_unmount.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_helpers/mount_unmount.go b/tests/test_helpers/mount_unmount.go index 475dd1c..8827f12 100644 --- a/tests/test_helpers/mount_unmount.go +++ b/tests/test_helpers/mount_unmount.go @@ -15,9 +15,9 @@ import ( ) // gocryptfs may hold up to maxCacheFds open for caching -// Keep in sync with fusefrontend.dirCacheSize +// Keep in sync with fusefrontend.dirCacheSize. Plus one for go-fuse (splice fd). // TODO: How to share this constant without causing an import cycle?! -const maxCacheFds = 20 +const maxCacheFds = 20 + 1 // Indexed by mountpoint. Initialized in doInit(). var MountInfo map[string]mountInfo |
