Pārlūkot izejas kodu

go.crypto/ssh/test: wait on sshd process in tests

R=dave
CC=golang-dev
https://golang.org/cl/8449043
Albert Strasheim 12 gadi atpakaļ
vecāks
revīzija
62eb5d3fac
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      ssh/test/test_unix_test.go

+ 1 - 0
ssh/test/test_unix_test.go

@@ -130,6 +130,7 @@ func (s *server) Shutdown() {
 		if err := s.cmd.Process.Kill(); err != nil {
 			s.t.Error(err)
 		}
+		s.cmd.Wait()
 	}
 	if s.t.Failed() {
 		// log any output from sshd process