Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 7538ff8

Browse files
committed
skipped receive_pack_test for git transport in windows
1 parent da410de commit 7538ff8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

plumbing/transport/git/receive_pack_test.go

+6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"os"
99
"os/exec"
1010
"path/filepath"
11+
"runtime"
1112
"strings"
1213
"time"
1314

@@ -29,6 +30,11 @@ type ReceivePackSuite struct {
2930
var _ = Suite(&ReceivePackSuite{})
3031

3132
func (s *ReceivePackSuite) SetUpTest(c *C) {
33+
if runtime.GOOS == "windows" {
34+
c.Skip(`git for windows has issues with write operations through git:// protocol.
35+
See https://github.com/git-for-windows/git/issues/907`)
36+
}
37+
3238
s.ReceivePackSuite.Client = DefaultClient
3339

3440
port, err := freePort()

0 commit comments

Comments
 (0)