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

Unified Diff: client/virt/tests/pxe.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/ping.py ('k') | client/virt/tests/shutdown.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/virt/tests/pxe.py
diff --git a/client/tests/kvm/tests/pxe.py b/client/virt/tests/pxe.py
similarity index 88%
rename from client/tests/kvm/tests/pxe.py
rename to client/virt/tests/pxe.py
index 7c294c1c46b8f9d779b199479453b99e664b8fe1..325e353b4976c24d9cc05cd49a540af1420479e1 100644
--- a/client/tests/kvm/tests/pxe.py
+++ b/client/virt/tests/pxe.py
@@ -1,7 +1,6 @@
import logging
from autotest_lib.client.common_lib import error
-import kvm_subprocess
-
+from autotest_lib.client.virt import aexpect
def run_pxe(test, params, env):
"""
@@ -20,7 +19,7 @@ def run_pxe(test, params, env):
timeout = int(params.get("pxe_timeout", 60))
logging.info("Try to boot from PXE")
- output = kvm_subprocess.run_fg("tcpdump -nli %s" % vm.get_ifname(),
+ output = aexpect.run_fg("tcpdump -nli %s" % vm.get_ifname(),
logging.debug, "(pxe capture) ", timeout)[1]
logging.info("Analyzing the tcpdump result...")
« no previous file with comments | « client/virt/tests/ping.py ('k') | client/virt/tests/shutdown.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698