net/netns, misc tests: remove TestOnlySkipPrivilegedOps, argv checks

The netns UID check is sufficient for now. We can do something else
later if/when needed.
This commit is contained in:
Brad Fitzpatrick
2020-05-31 14:35:30 -07:00
parent 7a410f9236
commit becce82246
6 changed files with 10 additions and 61 deletions
-5
View File
@@ -15,14 +15,9 @@ import (
"time"
"tailscale.com/derp"
"tailscale.com/net/netns"
"tailscale.com/types/key"
)
func init() {
netns.TestOnlySkipPrivilegedOps()
}
func TestSendRecv(t *testing.T) {
const numClients = 3
var serverPrivateKey key.Private