tests: kill process group on failure
authorFedor Indutny <fedor.indutny@gmail.com>
Mon, 20 Feb 2012 16:03:14 +0000 (22:03 +0600)
committerFedor Indutny <fedor.indutny@gmail.com>
Mon, 20 Feb 2012 16:07:19 +0000 (22:07 +0600)
commit0cebfc8ddb509fbf5f865bb660b73e96680b3f65
treef27d2ed0aed56ef9ea9d0a19c7e033e961024bf8
parentde5e3f6a6f5eece5a6927ef17c8bf836c4d0779d
tests: kill process group on failure

Test suite is often leaving `stray` processes on failure. They are
harmless, but may cause future test runs fail because those `stray`
processes are occupying `common.PORT` or due to some other reasons.

Killing whole process group on test suite failure should help in such
cases.
tools/test.py