MCPcopy Index your code
hub / github.com/tailscale/tailscale / testSession

Function testSession

ssh/tailssh/tailssh_integration_test.go:817–820  ·  view source on GitHub ↗
(t *testing.T, forceV1Behavior bool, allowSendEnv bool, sendEnv map[string]string)

Source from the content-addressed store, hash-verified

815}
816
817func testSession(t *testing.T, forceV1Behavior bool, allowSendEnv bool, sendEnv map[string]string) *session {
818 cl := testClient(t, forceV1Behavior, allowSendEnv)
819 return testSessionFor(t, cl, sendEnv)
820}
821
822func testSessionFor(t *testing.T, cl *ssh.Client, sendEnv map[string]string) *session {
823 s, err := cl.NewSession()

Callers 1

TestIntegrationSSHFunction · 0.85

Calls 2

testSessionForFunction · 0.85
testClientFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…