From 7538ff86dc3841c9da5e0041a2b834feaeb3c10d Mon Sep 17 00:00:00 2001 From: Manuel Carmona Date: Thu, 10 Aug 2017 08:17:50 +0200 Subject: [PATCH] skipped receive_pack_test for git transport in windows --- plumbing/transport/git/receive_pack_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plumbing/transport/git/receive_pack_test.go b/plumbing/transport/git/receive_pack_test.go index f9afede2a..7b0fa462b 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()