[PATCH] Fix import of modules from inside the kvm module.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Import of modules present inside the kvm test is broken due to
a path that wasn't converted when the test got renamed from
kvm_runtest_2 to kvm. Fixing the problem.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@xxxxxxxxxx>
---
 client/tests/kvm/control |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/tests/kvm/control b/client/tests/kvm/control
index eb38686..154d513 100644
--- a/client/tests/kvm/control
+++ b/client/tests/kvm/control
@@ -45,8 +45,8 @@ Each test is appropriately documented on each test docstrings.
 
 import sys, os
 
-# enable modules import from current directory (tests/kvm_runtest_2)
-pwd = os.path.join(os.environ['AUTODIR'],'tests/kvm_runtest_2')
+# enable modules import from current directory (tests/kvm)
+pwd = os.path.join(os.environ['AUTODIR'],'tests/kvm')
 sys.path.append(pwd)
 
 # ------------------------
-- 
1.6.2.2

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux