(factory-2305.B)factory_HWID should run hwid_tool
hwid_tool is located at /usr/local/factory, and hwid_tool.py moved to
/usr/local/factory/py. It should run hwid_tool instead of hwid_tool.py.
BUG=chrome-os-partner:9828
TEST=Run HWID tests to see it can display all HWID list
Reviewed-on: https://gerrit.chromium.org/gerrit/23333
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Ready: Jay Kim <yongjaek@chromium.org>
Tested-by: Jay Kim <yongjaek@chromium.org>
(cherry picked from commit ab798c7d7752e6f17b245d94c07cd04c21e5f44e)
Change-Id: Ie9198a47b14a7dbce01066c1cef626237c2d1855
Reviewed-on: https://gerrit.chromium.org/gerrit/23816
Reviewed-by: Jay Kim <yongjaek@chromium.org>
Tested-by: Jay Kim <yongjaek@chromium.org>
diff --git a/client/site_tests/factory_HWID/select_task.py b/client/site_tests/factory_HWID/select_task.py
index 2dbbda8..22e1170 100644
--- a/client/site_tests/factory_HWID/select_task.py
+++ b/client/site_tests/factory_HWID/select_task.py
@@ -22,7 +22,7 @@
with os.popen("crossystem hwid 2>/dev/null", "r") as p:
current_hwid = p.read().strip()
- (stdout, _, result) = gooftools.run("hwid_tool.py list_hwids",
+ (stdout, _, result) = gooftools.run("hwid_tool list_hwids",
ignore_status=True)
known_list = stdout.splitlines()
if (not known_list) or (result != 0):