Fix some issues with the new Host.__del__ -> Host.close changes.
Adds a way for server_job to add hooks into the subcommand module
so that it can detect subcommand fork and join operations, and then
uses those hooks to add the necessary host.close calls for cleaning
up new Host objects created by the subcommand.
Risk: Medium
Visibility: Host objects are properly cleaned up even if they're
created in forked subprocesses and not just the top-level process.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@2459 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed