]> Cypherpunks repositories - gostls13.git/commitdiff
os/user: enable tests on all supported platforms
authorJoel Sing <jsing@google.com>
Mon, 7 Oct 2013 16:12:17 +0000 (09:12 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 7 Oct 2013 16:12:17 +0000 (09:12 -0700)
All of the currently supported platforms have a working user
implementation and do not use stubs. As a result, enable the tests
on all platforms rather than whitelisting.

R=golang-dev, dave, iant
CC=golang-dev
https://golang.org/cl/14454044

src/pkg/os/user/user_test.go

index 0421894bac6b75061de9b5d608a48cde86ecb3ff..9d9420e8090e3fba1020a81deca15b807af3af61 100644 (file)
@@ -13,12 +13,6 @@ func check(t *testing.T) {
        if !implemented {
                t.Skip("user: not implemented; skipping tests")
        }
-       switch runtime.GOOS {
-       case "linux", "freebsd", "darwin", "windows", "plan9":
-               // test supported
-       default:
-               t.Skipf("user: Lookup not implemented on %q; skipping test", runtime.GOOS)
-       }
 }
 
 func TestCurrent(t *testing.T) {