mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +00:00
Fix for unit test failures 'unexpected error: user: Current not implemented on linux/amd64'
running on Fedora 20 'go version go1.4.2 linux/amd64'
This commit is contained in:
parent
1b7e52edb4
commit
7955d428de
@ -305,7 +305,11 @@ func TestValidateCachesSchema(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestSubstitueUser(t *testing.T) {
|
func TestSubstitueUser(t *testing.T) {
|
||||||
usr, _ := user.Current()
|
usr, err := user.Current()
|
||||||
|
if err != nil {
|
||||||
|
t.Logf("SKIPPING TEST: unexpected error: %v", err)
|
||||||
|
return
|
||||||
|
}
|
||||||
tests := []struct {
|
tests := []struct {
|
||||||
input string
|
input string
|
||||||
expected string
|
expected string
|
||||||
|
Loading…
Reference in New Issue
Block a user