aboutsummaryrefslogtreecommitdiff
path: root/tests/matrix
diff options
context:
space:
mode:
authorJakob Unterwurzacher2020-08-16 19:41:00 +0200
committerJakob Unterwurzacher2020-08-16 19:41:00 +0200
commit58a2726977a1b1f92063a1e51c0769af71833e72 (patch)
tree2c2112205a27c48139fa3700fe093c84b3546e14 /tests/matrix
parent6f3cca2cdd0265fec4613023c58dfe3378b91b71 (diff)
v2api/reverse: implement Statfs
Diffstat (limited to 'tests/matrix')
-rw-r--r--tests/matrix/matrix_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/matrix/matrix_test.go b/tests/matrix/matrix_test.go
index 2542844..5e536b3 100644
--- a/tests/matrix/matrix_test.go
+++ b/tests/matrix/matrix_test.go
@@ -873,3 +873,11 @@ func TestAccess(t *testing.T) {
t.Error("X_OK should have failed")
}
}
+
+func TestStatfs(t *testing.T) {
+ var st syscall.Statfs_t
+ syscall.Statfs(test_helpers.DefaultPlainDir, &st)
+ if st.Bsize == 0 {
+ t.Errorf("statfs reports size zero: %#v", st)
+ }
+}