[autotest] A script that links server tests in autoest_private to autotest

By default, the script creates symbolic links for server side tests

/usr/local/autotest/server/site_tests/XYZ ->
/usr/local/autotest/site_utils/autotest_private/site_tests/XYZ

It creates links for server side suite control files as well

/usr/local/autotest/server/site_tests/suites/XYZ ->
/usr/local/autotest/site_utils/autotest_private/site_tests/suites/XYZ

Customized public autotest root and private autotest root can be set
via options.

TEST=test locally with a autotest_private repo checked out at
/usr/local/autotest/site_utils/autotest_private (current setup on our
lab prod server), run the script and
confirm that server side tests are linked correctly.
BUG=chromium:303209

Change-Id: I9d5274503ec2283d07243b0bdda04617ba836dfd
Reviewed-on: https://chromium-review.googlesource.com/172654
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Fang Deng <fdeng@chromium.org>
Commit-Queue: David James <davidjames@chromium.org>
1 file changed