diff options
author | Jakob Unterwurzacher | 2020-08-16 19:41:00 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2020-08-16 19:41:00 +0200 |
commit | 58a2726977a1b1f92063a1e51c0769af71833e72 (patch) | |
tree | 2c2112205a27c48139fa3700fe093c84b3546e14 /tests/reverse | |
parent | 6f3cca2cdd0265fec4613023c58dfe3378b91b71 (diff) |
v2api/reverse: implement Statfs
Diffstat (limited to 'tests/reverse')
-rw-r--r-- | tests/reverse/correctness_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
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) + } +} |