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

Unified Diff: client/site_tests/hardware_Components/hardware_Components.py

Issue 6679050: Use keyboard_layout instead of initial_locale (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@0.11.241.B
Patch Set: typos Created 9 years, 9 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
Index: client/site_tests/hardware_Components/hardware_Components.py
diff --git a/client/site_tests/hardware_Components/hardware_Components.py b/client/site_tests/hardware_Components/hardware_Components.py
index 820016f7a5f35eb57ac7145e4248ff2ec635593e..3ec69b8f8300c07062eaff631a69c600297c825c 100644
--- a/client/site_tests/hardware_Components/hardware_Components.py
+++ b/client/site_tests/hardware_Components/hardware_Components.py
@@ -272,7 +272,7 @@ class hardware_Components(test.test):
def get_part_id_keyboard(self):
# VPD value "initial_locale"="en-US" should be listed.
yongjaek 2011/03/14 23:08:33 Comment should follow the next change.
- cmd = 'vpd -l | grep initial_locale | cut -f4 -d\'"\' '
+ cmd = 'vpd -i RO_VPD -l | grep \"keyboard_layout\" | cut -f4 -d\'"\' '
part_id = utils.system_output(cmd).strip()
if part_id != '':
return part_id

Powered by Google App Engine
This is Rietveld 408576698