]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: unskip TestDirentRepeat on freebsd
authorTobias Klauser <tklauser@distanz.ch>
Thu, 17 Mar 2022 23:01:24 +0000 (00:01 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Fri, 18 Mar 2022 06:03:39 +0000 (06:03 +0000)
TestDirentRepeat fails on FreeBSD 11, but seems to pass on newer
versions. Go 1.18 is the last release to support FreeBSD 11 per
https://golang.org/doc/go1.18#freebsd and there are no FreeBSD 11
builders anymore. Thus unskip TestDirentRepeat to verify the issue is
indeed fixed on FreeBSD 12 and later.

For #31416

Change-Id: I189ef06719ff830ffe2e402c74a75874c9e5b97b
Reviewed-on: https://go-review.googlesource.com/c/go/+/393618
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/syscall/dirent_test.go

index aeb40e57c1834434e0ce34b4c4cc469e956b927d..a2d1b61342cf54a8abf3663a26f2d94b6c48bbcd 100644 (file)
@@ -97,9 +97,6 @@ func TestDirentRepeat(t *testing.T) {
                if size < 1024 {
                        size = 1024 // DIRBLKSIZ, see issue 31403.
                }
-               if runtime.GOOS == "freebsd" {
-                       t.Skip("need to fix issue 31416 first")
-               }
        }
 
        // Make a directory containing N files