|
|
@ -26,6 +26,7 @@ import (
|
|
|
|
"tailscale.com/net/tsdial"
|
|
|
|
"tailscale.com/net/tsdial"
|
|
|
|
"tailscale.com/tailcfg"
|
|
|
|
"tailscale.com/tailcfg"
|
|
|
|
"tailscale.com/types/logger"
|
|
|
|
"tailscale.com/types/logger"
|
|
|
|
|
|
|
|
"tailscale.com/util/cibuild"
|
|
|
|
"tailscale.com/util/lineread"
|
|
|
|
"tailscale.com/util/lineread"
|
|
|
|
"tailscale.com/wgengine"
|
|
|
|
"tailscale.com/wgengine"
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -245,9 +246,7 @@ func TestSSH(t *testing.T) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
t.Run("env", func(t *testing.T) {
|
|
|
|
t.Run("env", func(t *testing.T) {
|
|
|
|
if os.Getenv("CI") == "true" {
|
|
|
|
if cibuild.On() {
|
|
|
|
// CI env variable is set by GitHub.
|
|
|
|
|
|
|
|
// https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
|
|
|
|
|
|
|
|
t.Skip("Skipping for now; see https://github.com/tailscale/tailscale/issues/4051")
|
|
|
|
t.Skip("Skipping for now; see https://github.com/tailscale/tailscale/issues/4051")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cmd := execSSH("LANG=foo env")
|
|
|
|
cmd := execSSH("LANG=foo env")
|
|
|
@ -292,9 +291,7 @@ func TestSSH(t *testing.T) {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
t.Run("stdin", func(t *testing.T) {
|
|
|
|
t.Run("stdin", func(t *testing.T) {
|
|
|
|
if os.Getenv("CI") == "true" {
|
|
|
|
if cibuild.On() {
|
|
|
|
// CI env variable is set by GitHub.
|
|
|
|
|
|
|
|
// https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
|
|
|
|
|
|
|
|
t.Skip("Skipping for now; see https://github.com/tailscale/tailscale/issues/4051")
|
|
|
|
t.Skip("Skipping for now; see https://github.com/tailscale/tailscale/issues/4051")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cmd := execSSH("cat")
|
|
|
|
cmd := execSSH("cat")
|
|
|
|