We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64e0e99 commit 2e82bddCopy full SHA for 2e82bdd
ssh/test/session_test.go
@@ -248,7 +248,7 @@ func TestValidTerminalMode(t *testing.T) {
248
t.Fatalf("session failed: %s", err)
249
}
250
251
- if _, err := io.WriteString(stdin, "echo SHELL $SHELL && stty -a && exit\n"); err != nil {
+ if _, err := io.WriteString(stdin, "echo && echo SHELL $SHELL && stty -a && exit\n"); err != nil {
252
t.Fatal(err)
253
254
@@ -258,7 +258,7 @@ func TestValidTerminalMode(t *testing.T) {
258
259
260
if testing.Verbose() {
261
- t.Logf("echo SHELL $SHELL && stty -a && exit:\n%s", buf)
+ t.Logf("echo && echo SHELL $SHELL && stty -a && exit:\n%s", buf)
262
263
264
shellLine := regexp.MustCompile("(?m)^SHELL (.*)$").FindStringSubmatch(buf.String())
0 commit comments