diff options
| author | Jakob Unterwurzacher | 2026-02-01 20:05:13 +0100 |
|---|---|---|
| committer | Jakob Unterwurzacher | 2026-02-01 20:05:13 +0100 |
| commit | ed5f8487b15f1d9cd83b4b0a4220271b6c5f189e (patch) | |
| tree | 57934e7c337865e37aa5e12434d637315d293b21 /tests/root_test/btrfs_test.go | |
| parent | 5ac1a51acdcc8626d536e324b1e03e2b8554ba50 (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.go | 2 |
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) } } |
