Commit 7ae77e2c authored by Russ Cox's avatar Russ Cox

[release-branch.go1.6] syscall: disable TestGetfsstat failure on builders

The underlying bug is fixed on master.
We don't need to (nor want to) port the fix back,
but we do want to be able to run all.bash for
minor releases.

Change-Id: Ib612fc84fd8cd1f57456dd300855318badf97cf7
Reviewed-on: https://go-review.googlesource.com/33850
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent f0fa13b3
......@@ -7,6 +7,7 @@
package syscall_test
import (
"runtime"
"syscall"
"testing"
)
......@@ -28,7 +29,11 @@ func TestGetfsstat(t *testing.T) {
empty := syscall.Statfs_t{}
for _, stat := range data {
if stat == empty {
t.Fatal("an empty Statfs_t struct was returned")
if runtime.GOOS == "darwin" {
t.Logf("ignoring empty Statfs_t")
} else {
t.Fatal("an empty Statfs_t struct was returned")
}
}
}
}
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