aboutsummaryrefslogtreecommitdiff
path: root/tests/root_test/btrfs_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2026-02-01 20:05:13 +0100
committerJakob Unterwurzacher2026-02-01 20:05:13 +0100
commited5f8487b15f1d9cd83b4b0a4220271b6c5f189e (patch)
tree57934e7c337865e37aa5e12434d637315d293b21 /tests/root_test/btrfs_test.go
parent5ac1a51acdcc8626d536e324b1e03e2b8554ba50 (diff)
syscallcompat: DetectQuirks: suppress Btrfs message when -noprealloc has been passed
Reported by @Tunoac, https://github.com/rfjakob/gocryptfs/issues/395#issuecomment-3828507487
Diffstat (limited to 'tests/root_test/btrfs_test.go')
-rw-r--r--tests/root_test/btrfs_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/root_test/btrfs_test.go b/tests/root_test/btrfs_test.go
index 4f2527a..72b7751 100644
--- a/tests/root_test/btrfs_test.go
+++ b/tests/root_test/btrfs_test.go
@@ -59,7 +59,7 @@ func TestBtrfsQuirks(t *testing.T) {
defer syscall.Unmount(mnt, 0)
quirk := syscallcompat.DetectQuirks(mnt)
- if quirk != syscallcompat.QuirkBrokenFalloc {
+ if quirk != syscallcompat.QuirkBtrfsBrokenFalloc {
t.Errorf("wrong quirk: %v", quirk)
}
}