aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/ssh/auth_method_test.go
diff options
context:
space:
mode:
authorManuel Carmona <manu.carmona90@gmail.com>2017-08-07 12:11:00 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2017-08-07 12:11:00 +0200
commitda410ded51ddab7729992540b54c739e43090244 (patch)
tree5754962d1152781a718083c1aba015d08ebbb24b /plumbing/transport/ssh/auth_method_test.go
parent80421da9614ad81c7d1d45d48c0f291654070c54 (diff)
downloadgo-git-da410ded51ddab7729992540b54c739e43090244.tar.gz
*: windows support, some more fixes (2) (#536)
* fixed windows failed test: "143 FAIL: worktree_test.go:314: WorktreeSuite.TestFilenameNormalization" * fixed windows failed test: "489: FAIL: auth_method_test.go:106: SuiteCommon.TestNewSSHAgentAuthNoAgent" * fixed windows failed test: "279 FAIL: server_test.go:50: ServerSuite.TestClone" fixed windows failed test: "298 FAIL: server_test.go:37: ServerSuite.TestPush" * fixed windows failed test: "316 FAIL: <autogenerated>:26: UploadPackSuite.TearDownSuite" * fixed windows failed test: "FAIL: <autogenerated>:6: IndexSuite.TearDownSuite"
Diffstat (limited to 'plumbing/transport/ssh/auth_method_test.go')
-rw-r--r--plumbing/transport/ssh/auth_method_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/transport/ssh/auth_method_test.go b/plumbing/transport/ssh/auth_method_test.go
index aa05f7f..2ee5100 100644
--- a/plumbing/transport/ssh/auth_method_test.go
+++ b/plumbing/transport/ssh/auth_method_test.go
@@ -115,7 +115,7 @@ func (s *SuiteCommon) TestNewSSHAgentAuthNoAgent(c *C) {
k, err := NewSSHAgentAuth("foo")
c.Assert(k, IsNil)
- c.Assert(err, ErrorMatches, ".*SSH_AUTH_SOCK.*")
+ c.Assert(err, ErrorMatches, ".*SSH_AUTH_SOCK.*|.*SSH agent .* not running.*")
}
func (*SuiteCommon) TestNewPublicKeys(c *C) {