Index: client/virt/tests/image_copy.py |
diff --git a/client/tests/kvm/tests/image_copy.py b/client/virt/tests/image_copy.py |
similarity index 93% |
rename from client/tests/kvm/tests/image_copy.py |
rename to client/virt/tests/image_copy.py |
index 8a4d74c869a48be56e2f88d323b3e11e8d346b0a..cc921ab6bb641b79c7c71658556939367f0c27f7 100644 |
--- a/client/tests/kvm/tests/image_copy.py |
+++ b/client/virt/tests/image_copy.py |
@@ -1,7 +1,7 @@ |
import os, logging |
from autotest_lib.client.common_lib import error |
from autotest_lib.client.bin import utils |
-import kvm_utils |
+from autotest_lib.client.virt import virt_utils |
def run_image_copy(test, params, env): |
@@ -33,7 +33,7 @@ def run_image_copy(test, params, env): |
dst_path = '%s.%s' % (params['image_name'], params['image_format']) |
cmd = 'cp %s %s' % (src_path, dst_path) |
- if not kvm_utils.mount(src, mount_dest_dir, 'nfs', 'ro'): |
+ if not virt_utils.mount(src, mount_dest_dir, 'nfs', 'ro'): |
raise error.TestError('Could not mount NFS share %s to %s' % |
(src, mount_dest_dir)) |