Fix up an issue with the root common.py; it doesn't abspathify
the dirname it uses. The __file__ attribute probably already is
abspathified anyway, but this makes sure, and makes it more
consistent with the other common.py files (where it does matter).
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1541 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/common.py b/common.py
index 7654dab..48676a7 100644
--- a/common.py
+++ b/common.py
@@ -1,6 +1,6 @@
import os, sys
dirname = os.path.dirname(sys.modules[__name__].__file__)
-autotest_dir = dirname
+autotest_dir = os.path.abspath(dirname)
client_dir = os.path.join(autotest_dir, "client")
sys.path.insert(0, client_dir)
import setup_modules