From 50d42babd8ab34e5d630d2ba234c3536dd5af1b6 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 25 Jun 2024 09:20:43 +0100 Subject: [PATCH] nfsmount: require --vfs-cache-mode writes or above in tests These tests fail for --vfs-cache-mode minimal on Linux for the same reason they don't work properly with --vfs-cache-mode off --- cmd/nfsmount/nfsmount_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/nfsmount/nfsmount_test.go b/cmd/nfsmount/nfsmount_test.go index da874ad8a..4a550b3e8 100644 --- a/cmd/nfsmount/nfsmount_test.go +++ b/cmd/nfsmount/nfsmount_test.go @@ -28,5 +28,5 @@ func TestMount(t *testing.T) { } sudo = true } - vfstest.RunTests(t, false, vfscommon.CacheModeMinimal, false, mount) + vfstest.RunTests(t, false, vfscommon.CacheModeWrites, false, mount) }