aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-08-10 12:10:42 +0200
committerGitHub <noreply@github.com>2017-08-10 12:10:42 +0200
commitffa72cf8cc8fa13d65bd29738f08d8e54db1333d (patch)
tree16da383f4baf3a4911cd86814a70217d894ba0d4 /plumbing
parentb525e63088c100c68ce03e910c7dfb0b839626a4 (diff)
parent7538ff86dc3841c9da5e0041a2b834feaeb3c10d (diff)
downloadgo-git-ffa72cf8cc8fa13d65bd29738f08d8e54db1333d.tar.gz
Merge pull request #540 from mcarmonaa/fix/git-transport-windows-test
*: windows support, skipped receive_pack_test for git transport
Diffstat (limited to 'plumbing')
-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()