Fix test suite to reap zombies.

I had not taken into account that the code was written to run git and leave
zombies, for performance/laziness reasons, when I wrote the test suite.
So rather than the typical 1 zombie process that git-annex develops, test
developed dozens. Caused problems on system with low process limits.
Added a reap function to GitRepo, that waits for any zombie child processes.
This commit is contained in:
Joey Hess 2011-02-13 00:50:09 -04:00
parent 9806af7368
commit c319a336a3
3 changed files with 27 additions and 19 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
git-annex (0.22) UNRELEASED; urgency=low
* Fix test suite to reap zombies.
-- Joey Hess <joeyh@debian.org> Sun, 13 Feb 2011 00:48:02 -0400
git-annex (0.21) unstable; urgency=low
* test: Don't rely on chmod -R working.