aboutsummaryrefslogtreecommitdiff
path: root/src/os/user/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/user/user.go')
-rw-r--r--src/os/user/user.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/os/user/user.go b/src/os/user/user.go
index c1b8101c86..4e1b5b3407 100644
--- a/src/os/user/user.go
+++ b/src/os/user/user.go
@@ -20,9 +20,12 @@ import (
"strconv"
)
+// These may be set to false in init() for a particular platform and/or
+// build flags to let the tests know to skip tests of some features.
var (
- userImplemented = true // set to false by lookup_stubs.go's init
- groupImplemented = true // set to false by lookup_stubs.go's init
+ userImplemented = true
+ groupImplemented = true
+ groupListImplemented = true
)
// User represents a user account.