tailcfg, control/controlclient: add GoArch, populate OSVersion on Linux

This commit is contained in:
Brad Fitzpatrick
2020-07-27 21:14:28 -07:00
parent 58b721f374
commit cd21ba0a71
5 changed files with 105 additions and 1 deletions

View File

@ -70,3 +70,10 @@ func TestStatusEqual(t *testing.T) {
}
}
}
func TestOSVersion(t *testing.T) {
if osVersion == nil {
t.Skip("not available for OS")
}
t.Logf("Got: %#q", osVersion())
}