Do not check bavail, it can change in a shared CI environment

This commit is contained in:
Dave Cheney 2016-06-15 20:02:28 +10:00
parent ab074834b7
commit fc30a3e623
2 changed files with 0 additions and 8 deletions

View File

@ -39,8 +39,4 @@ func TestClientStatVFS(t *testing.T) {
if vfs.Favail != uint64(s.Ffree) { if vfs.Favail != uint64(s.Ffree) {
t.Fatal("f_namemax does not match") t.Fatal("f_namemax does not match")
} }
if vfs.Bavail != s.Bavail {
t.Fatal("f_bavail does not match")
}
} }

View File

@ -39,8 +39,4 @@ func TestClientStatVFS(t *testing.T) {
if vfs.Namemax != uint64(s.Namelen) { if vfs.Namemax != uint64(s.Namelen) {
t.Fatal("f_namemax does not match, expected: %v, got: %v", s.Namelen, vfs.Namemax) t.Fatal("f_namemax does not match, expected: %v, got: %v", s.Namelen, vfs.Namemax)
} }
if vfs.Bavail != s.Bavail {
t.Fatal("f_bavail does not match, expeced: %v, got: %v", s.Bavail, vfs.Bavail)
}
} }