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

R=dave
CC=golang-dev
https://golang.org/cl/8449043
This commit is contained in:
Albert Strasheim
2013-04-07 19:26:33 +10:00
committed by Dave Cheney
parent d52ec73510
commit 62eb5d3fac
+1
View File
@@ -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