We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5380690 commit 6ae3492Copy full SHA for 6ae3492
cli/ssh_test.go
@@ -1219,8 +1219,8 @@ func TestSSH(t *testing.T) {
1219
// started and accepting input on stdin.
1220
_ = pty.Peek(ctx, 1)
1221
1222
- pty.WriteLine(fmt.Sprintf("netstat -an | grep -q %s; echo \"returned $?\"", remoteSock))
1223
- pty.ExpectMatchContext(ctx, "returned 0")
+ pty.WriteLine(fmt.Sprintf(`echo "results: $(netstat -an | grep %s | wc -l)"`, remoteSock))
+ pty.ExpectMatchContext(ctx, "results: 1")
1224
1225
// And we're done.
1226
pty.WriteLine("exit")
coderd/tracing/exporter.go
@@ -1,3 +1,5 @@
1
+//go:build !slim
2
+
3
package tracing
4
5
import (
0 commit comments