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

Unified Diff: client/site_tests/factory_Keyboard/factory_Keyboard.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/factory_Keyboard/factory_Keyboard.py
diff --git a/client/site_tests/factory_Keyboard/factory_Keyboard.py b/client/site_tests/factory_Keyboard/factory_Keyboard.py
index ad64fb3e747a08336d9d3165943950ce6d395599..14fd75e42ad7207df134d541e8a907efd4b4cbb2 100644
--- a/client/site_tests/factory_Keyboard/factory_Keyboard.py
+++ b/client/site_tests/factory_Keyboard/factory_Keyboard.py
@@ -130,7 +130,10 @@ class factory_Keyboard(test.test):
preserve_srcdir = True
def get_layout_from_vpd(self):
- """ vpd should contain "initial_locale"="en-US" or similar. """
+ """ vpd should contain
+ "initial_locale"="en-US"
+ "keyboard_layout"="xkb:us::eng"
+ or similar. """
cmd = 'vpd -l | grep initial_locale | cut -f4 -d\'"\''
layout = utils.system_output(cmd).strip()
if layout != '':

Powered by Google App Engine
This is Rietveld 408576698