aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Carmona <manu.carmona90@gmail.com>2017-08-10 08:17:50 +0200
committerManuel Carmona <manu.carmona90@gmail.com>2017-08-10 12:07:50 +0200
commit7538ff86dc3841c9da5e0041a2b834feaeb3c10d (patch)
treebef279fbad51b592d7f9a872fcb43373b6d4b47e
parentda410ded51ddab7729992540b54c739e43090244 (diff)
downloadgo-git-7538ff86dc3841c9da5e0041a2b834feaeb3c10d.tar.gz
skipped receive_pack_test for git transport in windows
-rw-r--r--plumbing/transport/git/receive_pack_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/plumbing/transport/git/receive_pack_test.go b/plumbing/transport/git/receive_pack_test.go
index f9afede..7b0fa46 100644
--- a/plumbing/transport/git/receive_pack_test.go
+++ b/plumbing/transport/git/receive_pack_test.go
@@ -8,6 +8,7 @@ import (
"os"
"os/exec"
"path/filepath"
+ "runtime"
"strings"
"time"
@@ -29,6 +30,11 @@ type ReceivePackSuite struct {
var _ = Suite(&ReceivePackSuite{})
func (s *ReceivePackSuite) SetUpTest(c *C) {
+ if runtime.GOOS == "windows" {
+ c.Skip(`git for windows has issues with write operations through git:// protocol.
+ See https://github.com/git-for-windows/git/issues/907`)
+ }
+
s.ReceivePackSuite.Client = DefaultClient
port, err := freePort()