unix: skip failing test on freebsd-386

Updates golang/go#15186

Change-Id: I02403cbc9b3f1c786ee8093e1480edff891ecf13
Reviewed-on: https://go-review.googlesource.com/21676
Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
Brad Fitzpatrick
2016-04-07 18:07:04 -07:00
parent 8aa0c605e5
commit 8fdfb00a6a

View File

@@ -7,6 +7,7 @@
package unix_test
import (
"os"
"testing"
"golang.org/x/sys/unix"
@@ -15,6 +16,9 @@ import (
func TestSysctUint64(t *testing.T) {
_, err := unix.SysctlUint64("vm.max_kernel_address")
if err != nil {
if os.Getenv("GO_BUILDER_NAME") == "freebsd-386-gce101" {
t.Skipf("Ignoring known failing test (golang.org/issue/15186). Failed with: %v", err)
}
t.Fatal(err)
}
}