File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,6 @@ import (
22
22
"testing"
23
23
"time"
24
24
25
- "golang.org/x/xerrors"
26
- "tailscale.com/net/speedtest"
27
- "tailscale.com/tailcfg"
28
-
29
25
scp "github.com/bramvdbogaerde/go-scp"
30
26
"github.com/google/uuid"
31
27
"github.com/pion/udp"
@@ -37,6 +33,9 @@ import (
37
33
"golang.org/x/crypto/ssh"
38
34
"golang.org/x/text/encoding/unicode"
39
35
"golang.org/x/text/transform"
36
+ "golang.org/x/xerrors"
37
+ "tailscale.com/net/speedtest"
38
+ "tailscale.com/tailcfg"
40
39
41
40
"cdr.dev/slog"
42
41
"cdr.dev/slog/sloggers/slogtest"
@@ -53,6 +52,8 @@ func TestMain(m *testing.M) {
53
52
goleak .VerifyTestMain (m )
54
53
}
55
54
55
+ // NOTE: These tests only work when your default shell is bash for some reason.
56
+
56
57
func TestAgent_Stats_SSH (t * testing.T ) {
57
58
t .Parallel ()
58
59
ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
Original file line number Diff line number Diff line change @@ -1334,7 +1334,6 @@ github.com/mattn/go-runewidth v0.0.6/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m
1334
1334
github.com/mattn/go-runewidth v0.0.9 /go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI =
1335
1335
github.com/mattn/go-runewidth v0.0.10 /go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk =
1336
1336
github.com/mattn/go-runewidth v0.0.12 /go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk =
1337
- github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU =
1338
1337
github.com/mattn/go-runewidth v0.0.13 /go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w =
1339
1338
github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU =
1340
1339
github.com/mattn/go-runewidth v0.0.14 /go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w =
@@ -1450,7 +1449,6 @@ github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s=
1450
1449
github.com/muesli/reflow v0.3.0 /go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8 =
1451
1450
github.com/muesli/termenv v0.9.0 /go.mod h1:R/LzAKf+suGs4IsO95y7+7DpFHO0KABgnZqtlyx2mBw =
1452
1451
github.com/muesli/termenv v0.11.1-0.20220204035834-5ac8409525e0 /go.mod h1:Bd5NYQ7pd+SrtBSrSNoBBmXlcY8+Xj4BMJgh8qcZrvs =
1453
- github.com/muesli/termenv v0.11.1-0.20220212125758-44cd13922739 h1:QANkGiGr39l1EESqrE0gZw0/AJNYzIvoGLhIoVYtluI =
1454
1452
github.com/muesli/termenv v0.11.1-0.20220212125758-44cd13922739 /go.mod h1:Bd5NYQ7pd+SrtBSrSNoBBmXlcY8+Xj4BMJgh8qcZrvs =
1455
1453
github.com/muesli/termenv v0.13.0 h1:wK20DRpJdDX8b7Ek2QfhvqhRQFZ237RGRO0RQ/Iqdy0 =
1456
1454
github.com/muesli/termenv v0.13.0 /go.mod h1:sP1+uffeLaEYpyOTb8pLCUctGcGLnoFjSn4YJK5e2bc =
You can’t perform that action at this time.
0 commit comments