Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: client/virt/tests/image_copy.py

Issue 6883246: Merge autotest upstream from @5318 ~ @5336 (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/virt/tests/guest_test.py ('k') | client/virt/tests/iofuzz.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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))
« no previous file with comments | « client/virt/tests/guest_test.py ('k') | client/virt/tests/iofuzz.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698