This patch also requires adding an empty client/bin/__init__.py file.

Add some code to autotest_client so that when autotest is run
remotely by autoserv via ssh we ensure that the process is always
going to end up in the root cpuset by default (if cpusets are being
used).

Tested with python 1.5, it parses without error and jumps to python2.4
correctly. Also tested by running several long-running client-side
tests with autoserv and then examining by hand what cpusets the
autotest processes were ending up in.

Signed-off-by: John Admanski <jadmanski@google.com>

The check_python_version stuff now happens as part of the module setup
that common does automatically. It was actually sort of happening that
way anyway, so I just made it more explicit. As long as an executable
does an "import common" everything works.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1425 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed