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 |