diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-02-07 05:02:26 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-02-07 05:02:26 +0000 |
commit | 18591d3ee7c0e22c3f81340fbc0a54d5fb6912ca (patch) | |
tree | d0f4d6a3774f1a09f412653f74cb9a9545207d1d /libgo/go/os | |
parent | 4a3e25712f25271876e83dfafe8ff2df4f643df7 (diff) | |
download | gcc-18591d3ee7c0e22c3f81340fbc0a54d5fb6912ca.zip gcc-18591d3ee7c0e22c3f81340fbc0a54d5fb6912ca.tar.gz gcc-18591d3ee7c0e22c3f81340fbc0a54d5fb6912ca.tar.bz2 |
os, syscall: Hurd fixes for a couple of tests
Based on patch by Svante Signell.
Reviewed-on: https://go-review.googlesource.com/c/161520
From-SVN: r268605
Diffstat (limited to 'libgo/go/os')
-rw-r--r-- | libgo/go/os/os_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgo/go/os/os_test.go b/libgo/go/os/os_test.go index 98eba89..cf68cae 100644 --- a/libgo/go/os/os_test.go +++ b/libgo/go/os/os_test.go @@ -1336,6 +1336,10 @@ func TestSeek(t *testing.T) { t.Logf("skipping test case #%d on nacl; https://golang.org/issue/21728", i) continue } + if runtime.GOOS == "hurd" && tt.out > 1<<32 { + t.Logf("skipping test case #%d on Hurd: file too large", i) + continue + } off, err := f.Seek(tt.in, tt.whence) if off != tt.out || err != nil { if e, ok := err.(*PathError); ok && e.Err == syscall.EINVAL && tt.out > 1<<32 && runtime.GOOS == "linux" { |