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

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

Issue 6685093: Use keyboard_layout instead of initial_locale (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: 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
« no previous file with comments | « client/site_tests/factory_SelectKeyboard/factory_SelectKeyboard.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6d28c2920535a05b872d3aae034bc81a7149f95a..c65db9968e7cfc5a66ec48fb4727376ea4c710cc 100644
--- a/client/site_tests/hardware_Components/hardware_Components.py
+++ b/client/site_tests/hardware_Components/hardware_Components.py
@@ -269,7 +269,7 @@ class hardware_Components(test.test):
def get_part_id_keyboard(self):
# VPD value "initial_locale"="en-US" should be listed.
- 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
« no previous file with comments | « client/site_tests/factory_SelectKeyboard/factory_SelectKeyboard.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698