diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-07-18 23:51:09 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-07-18 23:51:09 +0200 |
commit | ae80735ce2171aff4c44313b3c27eb5ddb595385 (patch) | |
tree | b875ce3de71d07087417fe96f0520af1b469c85b | |
parent | f6fb4f559e1619c6b478d88c3706e72bc315e2ac (diff) | |
download | go-git-ae80735ce2171aff4c44313b3c27eb5ddb595385.tar.gz |
plumbing: transport git fix test on windows
-rw-r--r-- | plumbing/transport/git/receive_pack_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plumbing/transport/git/receive_pack_test.go b/plumbing/transport/git/receive_pack_test.go index 326ef1b..f9afede 100644 --- a/plumbing/transport/git/receive_pack_test.go +++ b/plumbing/transport/git/receive_pack_test.go @@ -99,9 +99,11 @@ func (s *ReceivePackSuite) SetUpTest(c *C) { } func (s *ReceivePackSuite) TearDownTest(c *C) { - err := s.daemon.Process.Signal(os.Interrupt) + err := s.daemon.Process.Signal(os.Kill) c.Assert(err, IsNil) + _ = s.daemon.Wait() + err = os.RemoveAll(s.base) c.Assert(err, IsNil) } |