Fix server side autotests installing to the wrong directory.

I've added two new constants to global_config.ini: chromeos_client_autodir (default: /mnt/stateful_partition/autotest) and chromeos_client_mount (default: /home/autotest_mount). Autotest will now always create these directories and then mount chromeos_client_autodir at chromeos_client_mount as executable.

A previous change did this for all client tests, but server side tests were over looked. Original CL is at http://codereview.chromium.org/3763007/show . I've merely relocated the code into autotest.py and updated unit tests and surrounding code.

Since the original variable for client installation, client_autodir_paths, has no meaning for us in Chrome OS. I've removed it and ensured there are no dependencies.

Some tests will need modification to work properly as they improperly hard coded the path to the autotest directory instead of querying the autodir variable.

Change-Id: Ic8f9171d14a754d86f38ec882006a4217eab8ec3

BUG=8336
TEST=Ran unit tests. Tested in production; ran bvt, works fine.

Review URL: http://codereview.chromium.org/4176007
4 files changed