aboutsummaryrefslogtreecommitdiff
path: root/tests/test_helpers/mount_unmount.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_helpers/mount_unmount.go')
-rw-r--r--tests/test_helpers/mount_unmount.go4
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