Currently, the scripts dir has change from virt/scripts to virt/shared/
scripts. This make the test fail.

Change it to correct dir

Signed-off-by: Mike Qiu <[email protected]>
---
 kvm/tests/ksm_overcommit.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kvm/tests/ksm_overcommit.py b/kvm/tests/ksm_overcommit.py
index cd31b7e..0c7d3f1 100644
--- a/kvm/tests/ksm_overcommit.py
+++ b/kvm/tests/ksm_overcommit.py
@@ -596,8 +596,8 @@ def run_ksm_overcommit(test, params, env):
     logging.debug(utils_test.get_memory_info(lvms))
 
     # Copy ksm_overcommit_guest.py into guests
-    virt_dir = os.path.join(os.environ['AUTODIR'], 'virt')
-    vksmd_src = os.path.join(virt_dir, "scripts", "ksm_overcommit_guest.py")
+    virt_dir = os.path.join(os.environ['AUTODIR'], 'tests/virt')
+    vksmd_src = os.path.join(virt_dir, "shared/scripts", 
"ksm_overcommit_guest.py")
     dst_dir = "/tmp"
     for vm in lvms:
         vm.copy_files_to(vksmd_src, dst_dir)
-- 
1.7.7.6

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to