From: Kir Kolyshkin Date: Sun, 9 Jun 2024 20:46:40 +0000 (-0700) Subject: os: rm reiserfs exception from TestSeek X-Git-Tag: go1.24rc1~1162 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=60e9cf0f93e58742b0aa491c6425d9c0ef970ed4;p=gostls13.git os: rm reiserfs exception from TestSeek This exception was originally added by CL 152108 in November 2009. I'm pretty sure no one uses reiserfs nowadays (and if someone does, this bug must have been fixed by now). Change-Id: I274ebe2f7910cab81b70a44b2da3f6fe761073bc Reviewed-on: https://go-review.googlesource.com/c/go/+/591417 Reviewed-by: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Reviewed-by: Cherry Mui Auto-Submit: Ian Lance Taylor --- diff --git a/src/os/os_test.go b/src/os/os_test.go index 538a75f912..70f6aa1173 100644 --- a/src/os/os_test.go +++ b/src/os/os_test.go @@ -1792,13 +1792,6 @@ func TestSeek(t *testing.T) { for i, tt := range tests { 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" { - mounts, _ := ReadFile("/proc/mounts") - if strings.Contains(string(mounts), "reiserfs") { - // Reiserfs rejects the big seeks. - t.Skipf("skipping test known to fail on reiserfs; https://golang.org/issue/91") - } - } t.Errorf("#%d: Seek(%v, %v) = %v, %v want %v, nil", i, tt.in, tt.whence, off, err, tt.out) } }