commit | 53e3098a1357da5e642caf066ebd48bfd95c1082 | [log] [tgz] |
---|---|---|
author | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | Mon Dec 07 13:38:44 2009 +0000 |
committer | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | Mon Dec 07 13:38:44 2009 +0000 |
tree | bb0815209fbdb652388b80cd997f1ce2030b9e88 | |
parent | a7dc938a7003961cdf03262282cc13048009f65c [diff] |
KVM test: use the imp module to import subtest module by filename This fixes a problem with importing the autotest subtest. It may be safer than importing tests.<testname> because, according to the Python documentation, imp.find_module() searches only the given path, regardless of what's in sys.path. Signed-off-by: Michael Goldish <mgoldish@redhat.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@3996 592f7852-d20e-0410-864c-8624ca9c26a4