From 58a2726977a1b1f92063a1e51c0769af71833e72 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 16 Aug 2020 19:41:00 +0200 Subject: v2api/reverse: implement Statfs --- tests/reverse/correctness_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/reverse') diff --git a/tests/reverse/correctness_test.go b/tests/reverse/correctness_test.go index 6b7ed5f..78c9c4b 100644 --- a/tests/reverse/correctness_test.go +++ b/tests/reverse/correctness_test.go @@ -249,3 +249,11 @@ func Test0100Dir(t *testing.T) { } fd.Close() } + +func TestStatfs(t *testing.T) { + var st syscall.Statfs_t + syscall.Statfs(dirB, &st) + if st.Bsize == 0 { + t.Errorf("statfs reports size zero: %#v", st) + } +} -- cgit v1.2.3