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 8f68565 commit 50a88b0Copy full SHA for 50a88b0
agent/agent_test.go
@@ -121,7 +121,11 @@ func TestAgent(t *testing.T) {
121
err = session.Wait()
122
exitErr := &ssh.ExitError{}
123
require.True(t, xerrors.As(err, &exitErr))
124
- assert.Equal(t, 127, exitErr.ExitStatus())
+ if runtime.GOOS == "windows" {
125
+ assert.Equal(t, 1, exitErr.ExitStatus())
126
+ } else {
127
+ assert.Equal(t, 127, exitErr.ExitStatus())
128
+ }
129
})
130
131
t.Run("LocalForwarding", func(t *testing.T) {
0 commit comments