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

Unified Diff: telemetry/telemetry/core/cros_interface.py

Issue 2991943002: Fix testConsistentHostPlatformInfo on cros (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/core/cros_interface.py
diff --git a/telemetry/telemetry/core/cros_interface.py b/telemetry/telemetry/core/cros_interface.py
index bf98d3f7a4c18ffb32836f39fed7cede227a3a39..1921207d3c9f9e829a5576b115cc6e82b44375a3 100644
--- a/telemetry/telemetry/core/cros_interface.py
+++ b/telemetry/telemetry/core/cros_interface.py
@@ -524,7 +524,7 @@ class CrOSInterface(object):
return False
def GetArchName(self):
- return self.RunCmdOnDevice(['uname', '-m'])[0]
+ return self.RunCmdOnDevice(['uname', '-m'])[0].rstrip()
def IsRunningOnVM(self):
return self.RunCmdOnDevice(['crossystem', 'inside_vm'])[0] != '0'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698