From 60e9cf0f93e58742b0aa491c6425d9c0ef970ed4 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Sun, 9 Jun 2024 13:46:40 -0700 Subject: [PATCH] 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 --- src/os/os_test.go | 7 ------- 1 file changed, 7 deletions(-) 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) } } -- 2.48.1