Commit 3ce04011 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse: be more verbose in statfs test.

parent 84301c8f
...@@ -857,7 +857,7 @@ func TestStatFs(t *testing.T) { ...@@ -857,7 +857,7 @@ func TestStatFs(t *testing.T) {
clearStatfs(&s1) clearStatfs(&s1)
clearStatfs(&s2) clearStatfs(&s2)
if fmt.Sprintf("%v", s2) != fmt.Sprintf("%v", s1) { if fmt.Sprintf("%v", s2) != fmt.Sprintf("%v", s1) {
t.Error("Mismatch", s1, s2) t.Errorf("statfs mismatch %#v != %#v", s1, s2)
} }
} }
...@@ -893,7 +893,7 @@ func TestFStatFs(t *testing.T) { ...@@ -893,7 +893,7 @@ func TestFStatFs(t *testing.T) {
clearStatfs(&s1) clearStatfs(&s1)
clearStatfs(&s2) clearStatfs(&s2)
if fmt.Sprintf("%v", s2) != fmt.Sprintf("%v", s1) { if fmt.Sprintf("%v", s2) != fmt.Sprintf("%v", s1) {
t.Error("Mismatch", s1, s2) t.Errorf("statfs mismatch: %#v != %#v", s1, s2)
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment