virt.virt_test_utils: run_autotest - 'tar' needs relative paths to strip the leading '/'
[autotest-zwu.git] / client / tools / common.py
blob6881386b0296ac022b5275953c1b530567b47580
1 import os, sys
2 dirname = os.path.dirname(sys.modules[__name__].__file__)
3 client_dir = os.path.abspath(os.path.join(dirname, ".."))
4 sys.path.insert(0, client_dir)
5 import setup_modules
6 sys.path.pop(0)
7 setup_modules.setup(base_path=client_dir,
8 root_module_name="autotest_lib.client")