aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-07-18 23:51:09 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2017-07-18 23:51:09 +0200
commitae80735ce2171aff4c44313b3c27eb5ddb595385 (patch)
treeb875ce3de71d07087417fe96f0520af1b469c85b /plumbing/transport
parentf6fb4f559e1619c6b478d88c3706e72bc315e2ac (diff)
downloadgo-git-ae80735ce2171aff4c44313b3c27eb5ddb595385.tar.gz
plumbing: transport git fix test on windows
Diffstat (limited to 'plumbing/transport')
-rw-r--r--plumbing/transport/git/receive_pack_test.go4
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)
}